/**
 * TrustCorp Template - Enterprise
 * 
 * Professional template for established enterprises.
 * Emphasizes trust, scale, and data sovereignty.
 */
import type { StarterTemplate } from './types';
import { trustcorpBlogPosts } from '../template-blog-posts';
import { trustcorpKbCategories } from '../template-kb-articles';

const trustcorpPages: StarterTemplate['pages'] = [
  {
    title: 'Home',
    slug: 'home',
    isHomePage: true,
    menu_order: 1,
    showInMenu: true,
    meta: {
      seoTitle: 'TrustCorp — Enterprise Security & Compliance Solutions',
      description: 'Enterprise consulting, private cloud, and AI solutions built for organizations that demand security, compliance, and scalability.',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'hero-1',
        type: 'hero',
        data: {
          title: 'Enterprise Solutions You Can Trust',
          subtitle: 'Powering organizations that demand excellence, security, and scalability.',
          backgroundType: 'video',
          videoType: 'direct',
          videoUrl: 'https://videos.pexels.com/video-files/2795394/2795394-uhd_2560_1440_25fps.mp4',
          videoPosterUrl: '/templates/blog/office-building.jpg',
          videoLoop: true,
          videoMuted: true,
          showVideoControls: false,
          overlayColor: 'dark',
          heightMode: '80vh',
          contentAlignment: 'center',
          overlayOpacity: 65,
          parallaxEffect: false,
          titleAnimation: 'fade-in',
          primaryButton: { text: 'Talk to Our AI', url: '#chat-launcher' },
          secondaryButton: { text: 'Our Services', url: '/services' },
        },
      },
      {
        id: 'divider-hero-logos',
        type: 'section-divider',
        data: { shape: 'curved', height: 'sm' },
      },
      {
        id: 'logos-1',
        type: 'logos',
        data: {
          title: 'Trusted by Industry Leaders',
          logos: [
            { id: 'l1', name: 'SEB', logo: '' },
            { id: 'l2', name: 'Nordea', logo: '' },
            { id: 'l3', name: 'Swedbank', logo: '' },
            { id: 'l4', name: 'Handelsbanken', logo: '' },
            { id: 'l5', name: 'Vattenfall', logo: '' },
            { id: 'l6', name: 'Telia', logo: '' },
            { id: 'l7', name: 'ICA Gruppen', logo: '' },
          ],
          layout: 'scroll',
          variant: 'grayscale',
          logoSize: 'md',
          autoplaySpeed: 4,
        },
      },
      {
        id: 'bento-services',
        type: 'bento-grid',
        data: {
          columns: 4,
          variant: 'bordered',
          gap: 'md',
          staggeredReveal: true,
          items: [
            { id: 'bg1', title: 'Consulting', description: 'C-suite advisory for digital transformation. We\'ve guided 500+ enterprises through complex technology shifts — without operational disruption.', icon: 'Briefcase', accentColor: '#1E40AF', linkUrl: '/services' },
            { id: 'bg2', title: 'Technology', description: 'Private cloud, on-premise AI, and hybrid infrastructure designed for zero-trust security. Built for organizations where data sovereignty isn\'t negotiable.', icon: 'Server', span: 'wide', accentColor: '#0F766E', linkUrl: '/services' },
            { id: 'bg3', title: 'Analytics', description: 'Real-time dashboards, predictive models, and board-ready reporting. Turn operational data into a competitive advantage your rivals can\'t replicate.', icon: 'BarChart3', accentColor: '#7C3AED', linkUrl: '/services' },
            { id: 'bg4', title: 'Support', description: 'A dedicated expert team available 24/7. Average response under 4 minutes. SLA-backed — because enterprise problems don\'t wait for business hours.', icon: 'HeadphonesIcon', accentColor: '#DC2626', linkUrl: '/contact' },
          ],
        },
      },
      {
        id: 'stats-1',
        type: 'stats',
        data: {
          title: 'Proven Track Record',
          stats: [
            { value: '25+', label: 'Years of Excellence', icon: 'Award' },
            { value: '500+', label: 'Enterprise Clients', icon: 'Building' },
            { value: '50', label: 'Countries Served', icon: 'Globe' },
            { value: '99.99%', label: 'Uptime SLA', icon: 'ShieldCheck' },
          ],
        },
      },
      {
        id: 'testimonials-1',
        type: 'testimonials',
        data: {
          title: 'Client Testimonials',
          testimonials: [
            { id: 't1', content: 'TrustCorp transformed our operations completely. Their private AI solution gave us the capabilities we needed without compromising on data governance.', author: 'Michael Torres', role: 'CIO', company: 'Fortune 500 Manufacturer', rating: 5 },
            { id: 't2', content: 'The level of expertise and professionalism exceeded our expectations. They delivered a complex migration on time and under budget.', author: 'Sarah Williams', role: 'VP Technology', company: 'GlobalBank', rating: 5 },
            { id: 't3', content: 'Their commitment to data sovereignty was exactly what we needed. Finally, an enterprise solution that respects our compliance requirements.', author: 'Dr. James Chen', role: 'Chief Medical Officer', company: 'HealthNet', rating: 5 },
          ],
          layout: 'grid',
          columns: 3,
          showRating: true,
          showAvatar: false,
          variant: 'cards',
        },
      },
      {
        id: 'social-proof-1',
        type: 'social-proof',
        data: {
          title: 'Real-Time Enterprise Metrics',
          items: [
            { id: 'sp1', type: 'counter', icon: 'users', label: 'Active Users', value: '2.5M', suffix: '+', animated: true },
            { id: 'sp2', type: 'rating', icon: 'star', label: 'Customer Satisfaction', value: '4.9', maxRating: 5, rating: 4.9 },
            { id: 'sp3', type: 'counter', icon: 'activity', label: 'Transactions/Day', value: '10M', suffix: '+' },
            { id: 'sp4', type: 'counter', icon: 'trending', label: 'Uptime This Year', value: '99.99', suffix: '%' },
          ],
          variant: 'cards',
          layout: 'grid',
          columns: 4,
          size: 'lg',
          animated: true,
          showIcons: true,
        },
      },
      {
        id: 'badge-enterprise',
        type: 'badge',
        data: {
          title: 'Certifications & Compliance',
          badges: [
            { id: 'b1', title: 'SOC 2 Type II', icon: 'shield' },
            { id: 'b2', title: 'ISO 27001', icon: 'check' },
            { id: 'b3', title: 'GDPR Compliant', icon: 'check' },
            { id: 'b4', title: 'HIPAA Ready', icon: 'shield' },
          ],
          variant: 'default',
          columns: 4,
          size: 'md',
          showTitles: true,
          grayscale: false,
        },
      },
      {
        id: 'tabs-industries',
        type: 'tabs',
        data: {
          title: 'Solutions by Industry',
          subtitle: 'Tailored enterprise solutions for every sector',
          orientation: 'horizontal',
          variant: 'boxed',
          tabs: [
            { id: 'tab-finance', title: 'Financial Services', icon: 'Landmark', content: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Secure, compliant solutions for banks, insurance, and investment firms. SOC 2 and PCI DSS certified with real-time fraud detection and regulatory reporting.' }] }] } },
            { id: 'tab-healthcare', title: 'Healthcare', icon: 'Heart', content: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'HIPAA-compliant platforms for hospitals, clinics, and pharma. Patient data privacy, clinical workflow automation, and interoperability built in.' }] }] } },
            { id: 'tab-manufacturing', title: 'Manufacturing', icon: 'Factory', content: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'IoT-connected supply chain management, predictive maintenance, and quality control. Reduce downtime by 40% with AI-powered operations.' }] }] } },
          ],
        },
      },
      {
        id: 'cta-1',
        type: 'cta',
        data: {
          title: 'Ready to Transform?',
          subtitle: 'Let\'s discuss how we can help your organization.',
          buttonText: 'Schedule Consultation',
          buttonUrl: '/contact',
          gradient: false,
        },
      },
    ],
  },
  {
    title: 'Services',
    slug: 'services',
    menu_order: 2,
    showInMenu: true,
    meta: {
      seoTitle: 'Support Center — Enterprise Help & Resources | TrustCorp',
      description: 'Comprehensive enterprise services tailored to your needs',
      showTitle: false,
      titleAlignment: 'center',
    },
    blocks: [
      {
        id: 'hero-1',
        type: 'hero',
        data: { title: 'Our Services', subtitle: 'Comprehensive solutions for enterprise challenges', backgroundType: 'color', heightMode: 'auto', contentAlignment: 'center', overlayOpacity: 0 },
      },
      {
        id: 'two-col-1',
        type: 'two-column',
        data: {
          eyebrow: 'CONSULTING',
          title: 'Strategic',
          accentText: 'Consulting',
          accentPosition: 'end',
          content: { type: 'doc', content: [
            { type: 'paragraph', content: [{ type: 'text', text: 'Our experienced consultants work closely with your leadership team to develop strategies that drive growth, efficiency, and competitive advantage.' }] },
            { type: 'bulletList', content: [
              { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Digital transformation roadmaps' }] }] },
              { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Operational excellence programs' }] }] },
              { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Technology strategy development' }] }] },
            ]},
          ]},
          imageSrc: '/templates/blog/team-brainstorming.jpg',
          imageAlt: 'Team strategy meeting',
          imagePosition: 'right',
          ctaText: 'Book a Consultation →',
          ctaUrl: '/contact',
        },
      },
      {
        id: 'two-col-2',
        type: 'two-column',
        data: {
          eyebrow: 'TECHNOLOGY',
          title: 'Enterprise',
          accentText: 'Technology',
          accentPosition: 'end',
          content: { type: 'doc', content: [
            { type: 'paragraph', content: [{ type: 'text', text: 'We design, build, and maintain the technology infrastructure that powers the world\'s leading organizations.' }] },
            { type: 'bulletList', content: [
              { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Cloud architecture & migration' }] }] },
              { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Private AI deployment' }] }] },
              { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Legacy system modernization' }] }] },
            ]},
          ]},
          imageSrc: '/templates/blog/tech-network.jpg',
          imageAlt: 'Technology infrastructure',
          imagePosition: 'left',
          ctaText: 'Explore Solutions →',
          ctaUrl: '/case-studies',
        },
      },
      {
        id: 'chat-launcher-home',
        type: 'chat-launcher',
        data: { title: 'Have Questions?', subtitle: 'Our AI assistant understands your enterprise needs', placeholder: 'Ask about security, compliance, or enterprise features...', showQuickActions: true, quickActionCount: 4, variant: 'card' },
      },
      {
        id: 'accordion-home-faq',
        type: 'accordion',
        data: {
          title: 'Enterprise FAQ',
          items: [
            { question: 'How do you ensure data security?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'TrustCorp maintains SOC 2 Type II certification, ISO 27001 compliance, and offers HIPAA-compliant options. All data is encrypted at rest and in transit, with optional on-premise deployment for maximum data sovereignty.' }] }] } },
            { question: 'What deployment options are available?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'We offer flexible deployment options including managed cloud, private cloud, and on-premise installations. Your data can stay entirely within your infrastructure if required by compliance.' }] }] } },
            { question: 'Do you offer enterprise SLAs?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Yes, enterprise customers receive guaranteed 99.9% uptime SLA with dedicated support channels, named account managers, and 24/7 priority response times.' }] }] } },
            { question: 'Can you integrate with our existing systems?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Absolutely. We offer pre-built integrations for major enterprise systems plus full REST API access for custom integrations. Our solutions team assists with complex integration requirements.' }] }] } },
            { question: 'How does AI keep data private?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Our AI assistant can run entirely on your infrastructure using private LLM endpoints. Your conversations and data never leave your network – full data sovereignty guaranteed.' }] }] } },
          ],
        },
      },
      {
        id: 'info-box-1',
        type: 'info-box',
        data: {
          title: 'Data Sovereignty Guaranteed',
          content: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Our Private AI runs entirely on your infrastructure. Your data never leaves your servers, ensuring complete compliance with data protection regulations.' }] }] },
          variant: 'highlight',
        },
      },
      {
        id: 'cta-1',
        type: 'cta',
        data: { title: 'Explore Our Full Capabilities', subtitle: 'Every engagement is tailored to your unique needs.', buttonText: 'Contact Us', buttonUrl: '/contact', gradient: false },
      },
    ],
  },
  {
    title: 'Case Studies',
    slug: 'case-studies',
    menu_order: 3,
    showInMenu: true,
    meta: { seoTitle: 'Case Studies — Proven Enterprise Results | TrustCorp', description: 'See how Fortune 500 companies transformed their operations with TrustCorp — real results, measurable impact.', showTitle: false, titleAlignment: 'center' },
    blocks: [
      { id: 'hero-1', type: 'hero', data: { title: 'Client Success Stories', subtitle: 'Real results from industry leaders', backgroundType: 'color', heightMode: 'auto', contentAlignment: 'center', overlayOpacity: 0 } },
      {
        id: 'article-grid-1',
        type: 'article-grid',
        data: {
          title: 'Featured Case Studies',
          columns: 3,
          articles: [
            { title: 'GlobalBank: 40% Cost Reduction', excerpt: 'How we helped GlobalBank reduce operational costs while improving customer satisfaction.', image: '/templates/misc/financial-analysis.jpg', url: '/contact' },
            { title: 'TechCorp: AI Transformation', excerpt: 'Deploying private AI across 30 global locations while maintaining data sovereignty.', image: '/templates/misc/robot-ai.jpg', url: '/contact' },
            { title: 'HealthNet: HIPAA Compliance', excerpt: 'Modernizing healthcare IT infrastructure with full regulatory compliance.', image: '/templates/misc/medical-tech.jpg', url: '/contact' },
          ],
        },
      },
      {
        id: 'two-col-1',
        type: 'two-column',
        data: {
          eyebrow: 'CASE STUDY',
          title: 'GlobalBank',
          accentText: 'Transformation',
          accentPosition: 'end',
          content: { type: 'doc', content: [
            { type: 'paragraph', content: [{ type: 'text', text: 'GlobalBank faced mounting operational costs and declining customer satisfaction. Through our comprehensive digital transformation program, we helped them modernize legacy systems, implement AI-driven customer service, and achieve regulatory compliance across 30 markets.' }] },
            { type: 'paragraph', content: [{ type: 'text', marks: [{ type: 'bold' }], text: 'Results: ' }, { type: 'text', text: '40% cost reduction, 25% improvement in customer satisfaction, 99.99% system uptime.' }] },
          ]},
          imageSrc: '/templates/misc/financial-analysis.jpg',
          imageAlt: 'Business analysis',
          imagePosition: 'right',
          ctaText: 'Read Full Case Study →',
          ctaUrl: '/contact',
        },
      },
      {
        id: 'quote-1',
        type: 'quote',
        data: { text: 'The TrustCorp team delivered beyond our expectations. They understood our unique challenges and built solutions that work.', author: 'Jennifer Walsh', source: 'COO, GlobalBank', variant: 'styled' },
      },
    ],
  },
  {
    title: 'About',
    slug: 'about',
    menu_order: 4,
    showInMenu: true,
    meta: { seoTitle: 'About TrustCorp — Leading Enterprise Security Provider', description: '25+ years of enterprise excellence. Learn about our mission, values, and the team powering 500+ organizations worldwide.', showTitle: false, titleAlignment: 'center' },
    blocks: [
      { id: 'hero-1', type: 'hero', data: { title: 'About TrustCorp', subtitle: '25 years of delivering excellence', backgroundType: 'image', backgroundImage: '/templates/hero/modern-office.jpg', heightMode: '60vh', contentAlignment: 'center', overlayOpacity: 60 } },
      {
        id: 'two-col-1',
        type: 'two-column',
        data: {
          eyebrow: 'ABOUT US',
          title: 'Our',
          accentText: 'Mission',
          accentPosition: 'end',
          content: { type: 'doc', content: [
            { type: 'paragraph', content: [{ type: 'text', text: 'We exist to help enterprises navigate complexity with confidence. For over 25 years, we\'ve been the trusted partner for organizations that demand excellence, security, and results.' }] },
            { type: 'paragraph', content: [{ type: 'text', text: 'Our commitment to data sovereignty and privacy isn\'t just a feature — it\'s our foundation. In an era of cloud dependency, we give organizations control over their most sensitive operations.' }] },
          ]},
          imageSrc: '/templates/misc/our-team.jpg',
          imageAlt: 'Team collaboration',
          imagePosition: 'right',
          ctaText: 'Meet Our Team →',
          ctaUrl: '/about',
        },
      },
      {
        id: 'stats-1',
        type: 'stats',
        data: {
          title: 'Our Impact',
          stats: [
            { value: '3,000+', label: 'Projects Delivered', icon: 'CheckCircle' },
            { value: '25K+', label: 'Professionals Trained', icon: 'GraduationCap' },
            { value: '12', label: 'Global Offices', icon: 'Globe' },
            { value: '98%', label: 'Client Retention', icon: 'Heart' },
          ],
        },
      },
      {
        id: 'team-1',
        type: 'team',
        data: {
          title: 'Leadership Team',
          subtitle: 'Meet the people driving TrustCorp forward.',
          members: [
            { id: 'm1', name: 'Robert Anderson', role: 'Chief Executive Officer', bio: '25+ years leading global enterprise transformations.', photo: '/templates/team/man-portrait-1.jpg', social: { linkedin: 'https://linkedin.com' } },
            { id: 'm2', name: 'Dr. Elena Martinez', role: 'Chief Technology Officer', bio: 'Former CTO at Fortune 100, AI and security expert.', photo: '/templates/team/woman-portrait-2.jpg', social: { linkedin: 'https://linkedin.com' } },
            { id: 'm3', name: 'James Whitmore', role: 'Chief Operations Officer', bio: 'Scaled operations across 50+ countries.', photo: '/templates/team/jonas-berg.jpg', social: { linkedin: 'https://linkedin.com' } },
            { id: 'm4', name: 'Sarah Lindqvist', role: 'Chief Client Officer', bio: 'Dedicated to exceptional client experiences.', photo: '/templates/team/woman-business-1.jpg', social: { linkedin: 'https://linkedin.com' } },
          ],
          columns: 4,
          layout: 'grid',
          variant: 'cards',
          showBio: true,
          showSocial: true,
        },
      },
      { id: 'cta-1', type: 'cta', data: { title: 'Join Our Team', subtitle: 'We\'re always looking for exceptional talent.', buttonText: 'View Careers', buttonUrl: '/contact', gradient: false } },
    ],
  },
  {
    title: 'Contact',
    slug: 'contact',
    menu_order: 5,
    showInMenu: true,
    meta: { seoTitle: 'Contact — Speak to Our Enterprise Team | TrustCorp', description: 'Schedule a consultation with our enterprise team. Discuss security, compliance, cloud migration, or custom solutions.', showTitle: false, titleAlignment: 'center' },
    blocks: [
      { id: 'hero-1', type: 'hero', data: { title: 'Contact Our Team', subtitle: 'Let\'s discuss how we can help your organization', backgroundType: 'color', heightMode: 'auto', contentAlignment: 'center', overlayOpacity: 0 } },
      { id: 'chat-1', type: 'chat-launcher', data: { title: 'Private Enterprise Assistant', subtitle: 'All conversations are processed on your infrastructure', placeholder: 'Ask about our enterprise solutions...', showQuickActions: true, quickActionCount: 4, variant: 'card' } },
      {
        id: 'contact-1',
        type: 'contact',
        data: {
          title: 'Contact Our Enterprise Team',
          phone: '+1 (800) TRUST-00',
          email: 'enterprise@trustcorp.com',
          address: '100 Enterprise Way, Suite 1000, New York, NY 10001',
          hours: [
            { day: 'Sales', time: '24/7 Available' },
            { day: 'Support', time: '24/7 Dedicated' },
            { day: 'Office', time: 'Mon-Fri 9AM-6PM' },
          ],
        },
      },
      {
        id: 'accordion-1',
        type: 'accordion',
        data: {
          title: 'Enterprise FAQ',
          items: [
            { question: 'How do you ensure data security?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'We employ multiple layers of security including end-to-end encryption, SOC 2 Type II compliance, and optional on-premise deployment.' }] }] } },
            { question: 'Can we deploy on our own infrastructure?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Yes, we offer full on-premise deployment options as well as private cloud solutions. Your data never has to leave your infrastructure.' }] }] } },
            { question: 'What SLAs do you offer?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Enterprise clients receive 99.99% uptime SLA with 24/7 dedicated support and named account managers.' }] }] } },
          ],
        },
      },
      { id: 'booking-1', type: 'booking', data: { title: 'Schedule a Consultation', description: 'Speak with our enterprise solutions team about your specific needs.', mode: 'smart', submitButtonText: 'Confirm Booking', successMessage: 'Your consultation is booked! An enterprise specialist will reach out.', showPhoneField: true, variant: 'card' } },
    ],
  },
  {
    title: 'Privacy Policy',
    slug: 'privacy-policy',
    menu_order: 99,
    showInMenu: false,
    meta: { seoTitle: 'Privacy Policy — Data Protection & GDPR | TrustCorp', description: 'How we collect, use and protect your personal data under GDPR', showTitle: true, titleAlignment: 'left' },
    blocks: [
      { id: 'text-1', type: 'text', data: { content: { type: 'doc', content: [
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Introduction' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'TrustCorp is committed to protecting your privacy and handling your personal data with the highest standards. This policy describes how we collect, use, and protect your information in accordance with the General Data Protection Regulation (GDPR).' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Data Controller' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'TrustCorp Ltd. is the data controller for the processing of your personal data. You can reach us at contact@trustcorp.com.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'What Data We Collect' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'We collect information provided in the context of business relationships, including contact details for company representatives, project-related information, and communication history.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'How We Use Your Data' }] },
        { type: 'bulletList', content: [
          { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'To deliver contracted services and products' }] }] },
          { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'To manage client relationships and communication' }] }] },
          { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'To comply with legal and regulatory requirements' }] }] },
          { type: 'listItem', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'For business development and marketing (with consent)' }] }] },
        ]},
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Data Storage and Security' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'We store all data within the EU/EEA and apply industry-leading security measures including encryption, access control, and regular security audits.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Your Rights' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Under GDPR, you have the right to access, rectify, and erase your personal data. You also have the right to restrict processing, object to processing, and the right to data portability.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Contact' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'For questions about personal data handling, contact our Data Protection Officer at privacy@trustcorp.com.' }] },
      ]} } },
    ],
  },
  {
    title: 'Terms of Service',
    slug: 'terms-of-service',
    menu_order: 100,
    showInMenu: false,
    meta: { seoTitle: 'Terms of Service — Enterprise Agreement | TrustCorp', description: 'Terms and conditions for using our enterprise services', showTitle: true, titleAlignment: 'left' },
    blocks: [
      { id: 'text-1', type: 'text', data: { content: { type: 'doc', content: [
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Agreement to Terms' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'By engaging TrustCorp services, you agree to be bound by these Terms of Service and our Master Service Agreement. These terms govern all business relationships with TrustCorp.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Scope of Services' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'TrustCorp provides enterprise consulting, technology, and advisory services as described in individual Statements of Work. All services are performed in accordance with industry best practices.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Confidentiality' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Both parties agree to maintain strict confidentiality of all proprietary information exchanged during the engagement. This obligation survives the termination of any agreement.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Intellectual Property' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Unless otherwise specified in a Statement of Work, all pre-existing intellectual property remains with its original owner. Work product ownership is defined in individual project agreements.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Data Security' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'TrustCorp maintains SOC 2 Type II certification and implements enterprise-grade security measures. All data processing complies with applicable data protection regulations including GDPR.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Limitation of Liability' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Liability is limited to the fees paid under the applicable Statement of Work. Neither party shall be liable for indirect, incidental, or consequential damages.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Governing Law' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'These terms are governed by the laws of the jurisdiction specified in the Master Service Agreement, without regard to conflict of law principles.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Contact' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'For questions about these Terms, contact our legal team at legal@trustcorp.com.' }] },
      ]} } },
    ],
  },
  {
    title: 'Cookie Policy',
    slug: 'cookie-policy',
    menu_order: 101,
    showInMenu: false,
    meta: { seoTitle: 'Cookie Policy — How We Use Cookies | TrustCorp', description: 'Information about how we use cookies for enterprise clients', showTitle: true, titleAlignment: 'left' },
    blocks: [
      { id: 'text-1', type: 'text', data: { content: { type: 'doc', content: [
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'What Are Cookies?' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Cookies are small text files stored on your device when you visit our website. They help us provide secure, personalized experiences for our enterprise clients and visitors.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Types of Cookies We Use' }] },
        { type: 'heading', attrs: { level: 3 }, content: [{ type: 'text', text: 'Essential Cookies' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Required for secure operation of our enterprise services. These enable authentication, session management, and security features. Essential cookies cannot be disabled.' }] },
        { type: 'heading', attrs: { level: 3 }, content: [{ type: 'text', text: 'Analytics Cookies' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Help us understand how enterprise clients interact with our platform. All analytics data is processed in compliance with GDPR and our data processing agreements.' }] },
        { type: 'heading', attrs: { level: 3 }, content: [{ type: 'text', text: 'Functional Cookies' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'Remember your preferences and settings across sessions. These include language preferences, dashboard configurations, and accessibility settings.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Enterprise Data Sovereignty' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'For enterprise clients with on-premise deployments, cookie handling can be configured according to your organization policies. Contact your account manager for customization options.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Managing Cookie Preferences' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'You can manage cookie preferences through our consent banner or your browser settings. Enterprise administrators can configure organization-wide cookie policies through the admin dashboard.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Third-Party Services' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'We minimize third-party cookie usage. Any third-party services used are vetted for security and compliance with enterprise requirements.' }] },
        { type: 'heading', attrs: { level: 2 }, content: [{ type: 'text', text: 'Contact' }] },
        { type: 'paragraph', content: [{ type: 'text', text: 'For questions about cookie usage or enterprise data handling, contact our privacy team at privacy@trustcorp.com.' }] },
      ]} } },
    ],
  },
  {
    title: 'Support Center',
    slug: 'support',
    menu_order: 6,
    showInMenu: true,
    meta: { description: 'Enterprise support center - Get help with our solutions and services', showTitle: false, titleAlignment: 'center' },
    blocks: [
      { id: 'hero-support', type: 'hero', data: { title: 'Enterprise Support Center', subtitle: 'Get the help you need from our dedicated enterprise team', backgroundType: 'color', heightMode: 'auto', contentAlignment: 'center', overlayOpacity: 0 } },
      {
        id: 'link-grid-support',
        type: 'link-grid',
        data: {
          columns: 3,
          links: [
            { icon: 'MessageSquare', title: 'Contact Support', description: 'Reach our enterprise support team directly', url: '/contact' },
            { icon: 'FileText', title: 'Documentation', description: 'Technical guides and API reference', url: '/case-studies' },
            { icon: 'Users', title: 'Account Manager', description: 'Connect with your dedicated account manager', url: '/contact' },
          ],
        },
      },
      {
        id: 'accordion-deployment',
        type: 'accordion',
        data: {
          title: 'Deployment & Infrastructure',
          items: [
            { question: 'What deployment options are available?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'We offer multiple deployment options including on-premise, private cloud, and hybrid solutions. All deployments include full data sovereignty guarantees and can be customized to meet your specific compliance requirements.' }] }] } },
            { question: 'What are the system requirements?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Requirements vary based on deployment type and scale. For on-premise installations, we provide detailed specifications. Our team will work with you to ensure optimal configuration for your infrastructure.' }] }] } },
            { question: 'How is maintenance handled?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Enterprise clients receive 24/7 monitoring and proactive maintenance. Updates are scheduled during your designated maintenance windows, and all changes are communicated in advance.' }] }] } },
          ],
        },
      },
      {
        id: 'accordion-security',
        type: 'accordion',
        data: {
          title: 'Security & Compliance',
          items: [
            { question: 'What security certifications do you hold?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'TrustCorp maintains SOC 2 Type II, ISO 27001, and GDPR compliance. For healthcare clients, we offer HIPAA-compliant configurations. Certification documentation is available upon request under NDA.' }] }] } },
            { question: 'How do you ensure data sovereignty?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'All data is processed and stored within your designated geographic region. Our private AI solutions run entirely on your infrastructure, ensuring complete data sovereignty. We never transmit data to external services without explicit authorization.' }] }] } },
            { question: 'What is your security incident response process?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Enterprise clients have access to our 24/7 Security Operations Center. Any potential security events are investigated immediately, with dedicated escalation paths and regular status updates until resolution.' }] }] } },
          ],
        },
      },
      {
        id: 'accordion-sla',
        type: 'accordion',
        data: {
          title: 'SLA & Support Levels',
          items: [
            { question: 'What SLA guarantees do you offer?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Enterprise clients receive 99.99% uptime SLA with financial guarantees. Critical issues have a 15-minute response time, with 4-hour resolution targets for P1 incidents.' }] }] } },
            { question: 'What support channels are available?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Enterprise support includes 24/7 phone and email support, dedicated Slack channel, video conferencing with technical experts, and on-site support for critical situations.' }] }] } },
            { question: 'Do we get a dedicated account manager?', answer: { type: 'doc', content: [{ type: 'paragraph', content: [{ type: 'text', text: 'Yes, all enterprise clients are assigned a dedicated account manager and technical account manager. They serve as your primary contacts for all business and technical matters.' }] }] } },
          ],
        },
      },
      { id: 'cta-support', type: 'cta', data: { title: 'Need Immediate Assistance?', subtitle: 'Our enterprise support team is available 24/7 for critical issues.', buttonText: 'Contact Support', buttonUrl: '/contact', gradient: false } },
    ],
  },
];

export const trustcorpTemplate: StarterTemplate = {
  id: 'trustcorp',
  name: 'TrustCorp',
  description: 'Professional template for established enterprises. Emphasizes trust, scale, and data sovereignty with a prominent private AI assistant.',
  category: 'enterprise',
  icon: 'Building2',
  tagline: 'For enterprises that demand excellence',
  aiChatPosition: 'Large embedded assistant with data sovereignty messaging',
  pages: trustcorpPages,
  blogPosts: trustcorpBlogPosts,
  kbCategories: trustcorpKbCategories,
  requiredModules: ['blog', 'knowledgeBase', 'chat', 'forms', 'leads'],
  branding: {
    logo: '',
    organizationName: 'TrustCorp',
    brandTagline: 'Enterprise Excellence',
    primaryColor: '220 70% 35%',
    headingFont: 'Playfair Display',
    bodyFont: 'Source Sans Pro',
    borderRadius: 'sm',
    shadowIntensity: 'subtle',
  },
  chatSettings: {
    enabled: true,
    aiProvider: 'n8n',
    n8nWebhookUrl: 'https://your-n8n-instance.com/webhook/chat',
    landingPageEnabled: true,
    widgetEnabled: false,
    blockEnabled: true,
    welcomeMessage: 'Welcome to TrustCorp. How can I assist you today?',
    systemPrompt: 'You are a professional enterprise assistant. Be formal, knowledgeable, and emphasize data security and compliance.',
    suggestedPrompts: [
      'What compliance certifications do you hold?',
      'How is my data protected?',
      'I need a custom enterprise solution',
      'Can I speak with a consultant?',
    ],
    includeContentAsContext: true,
    includedPageSlugs: ['*'],
    includeKbArticles: true,
    contentContextMaxTokens: 50000,
    showContextIndicator: true,
    toolCallingEnabled: true,
    allowGeneralKnowledge: true,
  },
  headerSettings: {
    variant: 'mega-menu',
    stickyHeader: true,
    backgroundStyle: 'solid',
    headerShadow: 'md',
    showBorder: true,
    headerHeight: 'default',
    megaMenuEnabled: true,
    megaMenuColumns: 3,
    customNavItems: [
      {
        id: 'solutions', label: 'Solutions', url: '#', enabled: true,
        description: 'Enterprise-grade solutions for every business need',
        children: [
          { id: 'analytics', label: 'Analytics Platform', url: '/services', description: 'Real-time business intelligence and reporting', icon: '📊' },
          { id: 'security', label: 'Security Suite', url: '/services', description: 'Enterprise security and compliance tools', icon: '🔒' },
          { id: 'integration', label: 'Integration Hub', url: '/services', description: 'Connect all your business systems', icon: '🔗' },
          { id: 'automation', label: 'Automation', url: '/services', description: 'Streamline workflows and processes', icon: '⚡' },
          { id: 'collaboration', label: 'Collaboration', url: '/services', description: 'Team productivity and communication', icon: '👥' },
          { id: 'cloud', label: 'Cloud Services', url: '/services', description: 'Scalable cloud infrastructure', icon: '☁️' },
        ],
      },
      {
        id: 'resources', label: 'Resources', url: '#', enabled: true,
        description: 'Learn and grow with TrustCorp',
        children: [
          { id: 'docs', label: 'Documentation', url: '/home', description: 'Technical guides and API reference', icon: '📚' },
          { id: 'academy', label: 'TrustCorp Academy', url: '/home', description: 'Free courses and certifications', icon: '🎓' },
          { id: 'blog', label: 'Blog', url: '/home', description: 'Industry insights and updates', icon: '✍️' },
          { id: 'case-studies', label: 'Case Studies', url: '/case-studies', description: 'Success stories from our clients', icon: '📈' },
          { id: 'webinars', label: 'Webinars', url: '/home', description: 'Live and on-demand sessions', icon: '🎥' },
          { id: 'community', label: 'Community', url: '/home', description: 'Connect with other users', icon: '💬' },
        ],
      },
      {
        id: 'company', label: 'Company', url: '/about', enabled: true,
        description: 'Learn about TrustCorp',
        children: [
          { id: 'about', label: 'About Us', url: '/about', description: 'Our mission and values', icon: '🏢' },
          { id: 'careers', label: 'Careers', url: '/contact', description: 'Join our team', icon: '💼' },
          { id: 'partners', label: 'Partners', url: '/contact', description: 'Partner program and ecosystem', icon: '🤝' },
          { id: 'press', label: 'Press', url: '/about', description: 'News and media resources', icon: '📰' },
          { id: 'contact', label: 'Contact', url: '/contact', description: 'Get in touch with us', icon: '📧' },
        ],
      },
    ],
  },
  footerSettings: {
    variant: 'enterprise',
    email: 'contact@trustcorp.com',
    phone: '+46 8 555 000 00',
    address: 'Stureplan 4',
    postalCode: '114 35 Stockholm',
    weekdayHours: 'Mon-Fri 8-17',
    weekendHours: 'Closed',
    showHours: false,
    linkedin: 'https://linkedin.com/company/trustcorp',
    showComplianceBadges: true,
    complianceBadges: ['SOC2', 'GDPR', 'ISO27001'],
    legalLinks: [
      { id: 'support', label: 'Support Center', url: '/support', enabled: true },
      { id: 'privacy', label: 'Privacy Policy', url: '/privacy-policy', enabled: true },
      { id: 'terms', label: 'Terms of Service', url: '/terms-of-service', enabled: true },
      { id: 'security', label: 'Security', url: '/home', enabled: true },
      { id: 'sla', label: 'SLA', url: '/home', enabled: true },
    ],
  },
  seoSettings: {
    siteTitle: 'TrustCorp',
    titleTemplate: '%s | TrustCorp',
    defaultDescription: 'Enterprise solutions that demand excellence, security, and scalability.',
    robotsIndex: true,
    robotsFollow: true,
    developmentMode: false,
  },
  aeoSettings: {
    enabled: true,
    organizationName: 'TrustCorp',
    shortDescription: 'Enterprise solutions that demand excellence, security, and scalability.',
    schemaOrgEnabled: true,
    schemaOrgType: 'Organization',
    faqSchemaEnabled: true,
    articleSchemaEnabled: true,
    sitemapEnabled: true,
    llmsTxtEnabled: true,
    llmsFullTxtEnabled: true,
  },
  cookieBannerSettings: { enabled: true },
  siteSettings: { homepageSlug: 'home' },
};
