// site/data.jsx — structured data + channel SVG paths

// Channel definitions: SVGs are inlined as components below for tight control.
const CHANNELS = [
  { id: 'email',    color: '#F7C217' },
  { id: 'whatsapp', color: '#F7C217' },
  { id: 'telegram', color: '#F7C217' },
  { id: 'sms',      color: '#F7C217' },
  { id: 'push',     color: '#F7C217' },
];

// Pricing plans. Keys reference i18n entries.
const PLANS = [
  {
    id: 'starter',
    priceKey: 'pr.starter.price',
    nameKey: 'pr.starter.name',
    tagKey: 'pr.starter.tag',
    contactsKey: 'pr.starter.contacts',
    features: ['pr.starter.f1','pr.starter.f2','pr.starter.f3','pr.starter.f4','pr.starter.f5'],
    ctaKey: 'pr.cta',
    popular: false,
  },
  {
    id: 'pro',
    priceKey: 'pr.pro.price',
    nameKey: 'pr.pro.name',
    tagKey: 'pr.pro.tag',
    contactsKey: 'pr.pro.contacts',
    features: ['pr.pro.f1','pr.pro.f2','pr.pro.f3','pr.pro.f4','pr.pro.f5'],
    ctaKey: 'pr.cta',
    popular: false,
  },
  {
    id: 'custom',
    priceKey: 'pr.custom.price',
    nameKey: 'pr.custom.name',
    tagKey: 'pr.custom.tag',
    contactsKey: 'pr.custom.contacts',
    features: ['pr.custom.f1','pr.custom.f2','pr.custom.f3','pr.custom.f4','pr.custom.f5'],
    ctaKey: 'pr.custom.cta',
    popular: false,
  },
];

// FAQ items — paired Q/A keys.
const FAQS = [
  { q: 'faq.q1', a: 'faq.a1' },
  { q: 'faq.q2', a: 'faq.a2' },
  { q: 'faq.q3', a: 'faq.a3' },
  { q: 'faq.q4', a: 'faq.a4' },
  { q: 'faq.q5', a: 'faq.a5' },
  { q: 'faq.q6', a: 'faq.a6' },
  { q: 'faq.q7', a: 'faq.a7' },
  { q: 'faq.q8', a: 'faq.a8' },
];

// Real customer logos (grayscale PNGs in site/assets/customers/).
const CUSTOMERS = [
  { name: 'Teatro Ambra Jovinelli',  src: '/site/assets/customers/teatro_ambra_jovinelli.png' },
  { name: 'Teatro Bellini',          src: '/site/assets/customers/teatro_bellini.png' },
  { name: 'Teatro Donizetti',        src: '/site/assets/customers/teatro_donizetti.png' },
  { name: 'Teatro Duse',             src: '/site/assets/customers/teatro_duse.png' },
  { name: 'Teatro Metastasio',       src: '/site/assets/customers/metastasio.png' },
  { name: 'Teatro Necessario',       src: '/site/assets/customers/teatro_necessario.png' },
  { name: 'Teatro Stabile Bolzano',  src: '/site/assets/customers/teatro_stabile_bolzano.png' },
  { name: 'Teatro Stabile Torino',   src: '/site/assets/customers/teatro_stabile_torino.png' },
  { name: 'Torino Danza',            src: '/site/assets/customers/torinodanza.png' },
  { name: 'La Contrada',             src: '/site/assets/customers/lacontrada.png' },
  { name: 'Bergamo Jazz',            src: '/site/assets/customers/bergamo_jazz.png' },
  { name: 'Artisti in Piazza',       src: '/site/assets/customers/artisti_in_piazza.png' },
  { name: 'Invito a Teatro',         src: '/site/assets/customers/invito_a_teatro.png' },
  { name: 'Lear Competition Festival', src: '/site/assets/customers/lear_competition_festival.png' },
  { name: 'Blucinque Nice',          src: '/site/assets/customers/blucinquenice.png' },
  { name: 'Lodovico',                src: '/site/assets/customers/lodovico.png' },
  { name: 'InLoco',                  src: '/site/assets/customers/inloco.png' },
  { name: 'Valli dei Mulini',        src: '/site/assets/customers/valli_dei_mulini.png' },
  { name: 'Firenzecard',             src: '/site/assets/customers/firenzecard.png' },
  { name: 'Museo MADRE',             src: '/site/assets/customers/museo_madre.png' },
  { name: 'Museo MIC',               src: '/site/assets/customers/museo_mic.png' },
  { name: 'SBAPP',                   src: '/site/assets/customers/sbapp.png' },
  { name: 'EMOT',                    src: '/site/assets/customers/emot.png' },
];

// Stat blocks (industry numbers).
const STATS = [
  { id: 1, valueKey: 'stats.1.value', labelKey: 'stats.1.label', sourceKey: 'stats.1.source', accent: 'yellow' },
  { id: 2, valueKey: 'stats.2.value', labelKey: 'stats.2.label', sourceKey: 'stats.2.source', accent: 'black' },
  { id: 3, valueKey: 'stats.3.value', labelKey: 'stats.3.label', sourceKey: 'stats.3.source', accent: 'yellow' },
  { id: 4, valueKey: 'stats.4.value', labelKey: 'stats.4.label', sourceKey: 'stats.4.source', accent: 'black' },
];

// Pain transformation rows ("before / after").
const PAIN_ROWS = [
  { id: 1, before: 'pain.before.1', after: 'pain.after.1' },
  { id: 2, before: 'pain.before.2', after: 'pain.after.2' },
  { id: 3, before: 'pain.before.3', after: 'pain.after.3' },
  { id: 4, before: 'pain.before.4', after: 'pain.after.4' },
  { id: 5, before: 'pain.before.5', after: 'pain.after.5' },
];

Object.assign(window, { CHANNELS, PLANS, FAQS, CUSTOMERS, STATS, PAIN_ROWS });
