// Types et données pour Why Choose Us
export interface MetricData {
  context: string;
  contextKey: string;
  label: string;
  labelKey: string;
  trend: "up" | "down" | "stable";
  value: string;
}

export interface PillarData {
  color: string;
  copy: string;
  copyKey: string;
  headline: string;
  headlineKey: string;
  icon: string; // Nom de l'icône lucide
  id: string;
  metrics: MetricData[];
}

export const pillarsData: PillarData[] = [
  {
    id: "performance",
    icon: "BarChart3",
    headlineKey: "pillarPerformanceHeadline",
    headline: "Performance for Trustworthy Data",
    copyKey: "pillarPerformanceCopy",
    copy: "You can't trust your A/B test results if your website is slow. We build a sub-second performance baseline, ensuring that your analytics are accurate and your user experience is flawless. This is the bedrock of data-driven marketing.",
    metrics: [
      {
        labelKey: "metricLighthouseScore",
        label: "Lighthouse Score",
        value: "98+",
        trend: "up",
        contextKey: "metricLighthouseContext",
        context: "guaranteed for reliable tests",
      },
      {
        labelKey: "metricUptimeSla",
        label: "Uptime SLA",
        value: "99.99%",
        trend: "stable",
        contextKey: "metricUptimeSlaContext",
        context: "for consistent data capture",
      },
      {
        labelKey: "metricAverageLcp",
        label: "Average LCP",
        value: "< 1.0s",
        trend: "up",
        contextKey: "metricAverageLcpContext",
        context: "across all client sites",
      },
      {
        labelKey: "metricDataAccuracy",
        label: "Data Accuracy",
        value: "+30%",
        trend: "up",
        contextKey: "metricDataAccuracyContext",
        context: "by eliminating tracking bugs",
      },
    ],
    color: "from-blue-600/20 via-blue-500/10 to-transparent",
  },
  {
    id: "creativity",
    icon: "Cpu",
    headlineKey: "pillarCreativityHeadline",
    headline: "Creativity Unleashed by a Composable Stack",
    copyKey: "pillarCreativityCopy",
    copy: 'Your designers and marketers should never hear "the CMS can\'t do that." By decoupling the frontend from best-in-class services like Contentful, Sanity, and Posthog, we give you complete creative freedom to build the exact experience your customers want.',
    metrics: [
      {
        labelKey: "metricMarketingBlockers",
        label: "Marketing Team Blockers",
        value: "-90%",
        trend: "down",
        contextKey: "metricMarketingBlockersContext",
        context: "developer dependencies removed",
      },
      {
        labelKey: "metricCmsSpeed",
        label: "CMS Publishing Speed",
        value: "10x",
        trend: "up",
        contextKey: "metricCmsSpeedContext",
        context: "faster with API-first CMS",
      },
      {
        labelKey: "metricIntegrationOptions",
        label: "Integration Options",
        value: "Unlimited",
        trend: "stable",
        contextKey: "metricIntegrationOptionsContext",
        context: "connect any marketing tool",
      },
      {
        labelKey: "metricDesignFreedom",
        label: "Design Freedom",
        value: "100%",
        trend: "up",
        contextKey: "metricDesignFreedomContext",
        context: "no template restrictions",
      },
    ],
    color: "from-purple-600/20 via-purple-500/10 to-transparent",
  },
  {
    id: "partnership",
    icon: "Users",
    headlineKey: "pillarPartnershipHeadline",
    headline: "From Tech Bottleneck to Strategic Partner",
    copyKey: "pillarPartnershipCopy",
    copy: "We're not just developers; we're architects of your growth engine. We handle the technical complexity so you can out-maneuver your competition, reduce your time-to-market, and turn your website into your #1 marketing asset.",
    metrics: [
      {
        labelKey: "metricFeatureVelocity",
        label: "Feature Velocity",
        value: "5x",
        trend: "up",
        contextKey: "metricFeatureVelocityContext",
        context: "faster ship times",
      },
      {
        labelKey: "metricResponseTime",
        label: "Response Time",
        value: "< 1h",
        trend: "stable",
        contextKey: "metricResponseTimeContext",
        context: "direct Slack for marketers",
      },
      {
        labelKey: "metricProjectOwnership",
        label: "Project Ownership",
        value: "Full",
        trend: "stable",
        contextKey: "metricProjectOwnershipContext",
        context: "we act as your tech leadership",
      },
      {
        labelKey: "metricClientRetention",
        label: "Client Retention",
        value: "95%",
        trend: "up",
        contextKey: "metricClientRetentionContext",
        context: "as growth partners",
      },
    ],
    color: "from-emerald-600/20 via-emerald-500/10 to-transparent",
  },
];

export interface PerformanceMetric {
  label: string;
  labelKey: string;
  unit: string;
  unitKey: string;
  value: string;
}

export const performanceMetrics: PerformanceMetric[] = [
  {
    labelKey: "tickerTimeToMarket",
    label: "Time to Market",
    value: "5x",
    unitKey: "tickerTimeToMarketUnit",
    unit: "faster",
  },
  {
    labelKey: "tickerConversionLift",
    label: "Conversion Lift",
    value: "+40%",
    unitKey: "tickerConversionLiftUnit",
    unit: "from A/B tests",
  },
  {
    labelKey: "tickerCoreWebVitals",
    label: "Core Web Vitals",
    value: "98+",
    unitKey: "tickerCoreWebVitalsUnit",
    unit: "score",
  },
  {
    labelKey: "tickerUptime",
    label: "Uptime",
    value: "99.99",
    unitKey: "tickerUptimeUnit",
    unit: "%",
  },
];
