/* Sarà per sempre sì landing - bilingual copy (IT primary, EN secondary) + language context */

const I18N = {
  it: {
    nav: { photos: 'Foto', invites: 'Inviti', rsvp: 'RSVP', ai: 'AI', founding: 'Founding', cta: 'Riserva il vostro posto' },

    hero: {
      eyebrow: 'Pianificazione + ricordi, insieme',
      title: 'Tutto per il vostro matrimonio. In un’unica app.',
      sub: 'Organizzatelo, condividetelo e custodite ogni ricordo per sempre - dal primo save-the-date all\u2019ultima foto degli invitati.',
      cta: 'Riserva il vostro posto',
      secondary: 'Guarda l\u2019app',
      trust: 'Tra le prime coppie a dare forma a Sarà per sempre sì.',
    },

    wedge: {
      eyebrow: 'Perch\u00e9 Sarà per sempre sì',
      items: [
        { k: 'Organizza', t: 'Inviti, sito, RSVP e tavoli - gli strumenti di pianificazione, finalmente insieme.' },
        { k: 'Condividi', t: 'Gli invitati inquadrano un QR e caricano foto e video. Nessuna app da scaricare.' },
        { k: 'Ricorda', t: 'Una galleria privata che resta vostra, per sempre.' },
      ],
      sub: ['Le altre app ne fanno ', 'una', '. Sarà per sempre sì le fa ', 'tutte e tre', '.'],
    },

    photos: {
      eyebrow: 'Le foto degli invitati',
      title: 'Le foto che il fotografo non ha colto - catturate da chi c\u2019era.',
      lead: 'Un QR su ogni tavolo. Gli invitati caricano in piena risoluzione, in un istante - e tu le hai tutte, gi\u00e0 la mattina dopo.',
      bullets: [
        'Foto e video illimitati, in alta risoluzione',
        'Gli invitati inquadrano un QR - nessuna app da scaricare',
        'Condivisione istantanea con tutti',
        'Condividi direttamente su Instagram e social',
        'Slideshow dal vivo durante il ricevimento',
        'Gallerie separate per cerimonia, ricevimento e cena - ognuna con il suo QR',
      ],
    },

    invites: {
      eyebrow: 'Inviti & sito di nozze',
      title: 'Un invito che \u00e8 anche il vostro sito di nozze.',
      lead: 'Un invito digitale elegante che apre sul vostro sito: programma, menù, galleria e RSVP. Un link personale per ogni invitato.',
      bullets: [
        'Un link personale per ogni invitato',
        'Modelli eleganti e personalizzabili',
        'Aggiungi al calendario con un tocco',
        'QR sui vostri inviti cartacei',
        'Senza carta, a impatto zero',
      ],
      hint: 'Tocca per aprire l\u2019invito',
    },

    rsvp: {
      eyebrow: 'RSVP, lista & tavoli',
      title: 'Conferme, intolleranze e posti a tavola - tutto in tempo reale.',
      lead: 'Le risposte arrivano da sole. Tu trascini gli invitati ai tavoli e esporti tutto per il catering.',
      bullets: [
        'RSVP raccolti automaticamente',
        'Confermati / assenti / in attesa, sempre aggiornati',
        'Note per ogni invitato (allergie, preferenze)',
        'Disposizione tavoli drag-and-drop',
        'Esporta tutte le risposte in CSV per il catering',
      ],
    },

    ai: {
      eyebrow: 'Strumenti AI',
      title: 'Un tocco di magia, con stile.',
      lead: 'Tre strumenti che fanno la differenza - mai gadget, sempre eleganti.',
      cards: [
        { icon: 'wand-sparkles', tag: 'Prima / Dopo', t: 'Decoratore AI', d: 'Carica una foto della sala e vedila allestita nel vostro stile.' },
        { icon: 'shirt', tag: 'Prova virtuale', t: 'Prova abiti & completi', d: 'Provate abiti e completi, virtualmente, prima dell\u2019atelier.' },
        { icon: 'sparkles', tag: 'Assistente', t: 'Assistente AI', d: 'Conosce lista invitati, menù e checklist. Chiedete pure.' },
      ],
    },

    founding: {
      badge: 'Founding Member',
      title: ['I Founding Member hanno accesso a vita per ', '\u20ac59', '.'],
      oldPrice: '\u20ac129',
      newPrice: '\u20ac59',
      priceNote: 'una volta - vostro per sempre',
      scarcity: 'Solo le prime 100 coppie.',
      counterNote: '63 coppie hanno gi\u00e0 riservato il posto',
      formTitle: 'Riservate il vostro posto',
      formSub: 'Lasciate la vostra email: vi avviseremo per primi al lancio.',
      emailLabel: 'La vostra email',
      emailPlaceholder: 'nome@email.com',
      dateLabel: 'Quando \u00e8 il grande giorno?',
      datePlaceholder: 'Scegliete mese e anno',
      submit: 'Riserva il mio posto',
      fine: 'Niente spam. Solo un messaggio quando Sarà per sempre sì \u00e8 pronto.',
      successTitle: 'Ci siete \ud83e\udd0d',
      successBody: 'Vi scriveremo presto. Benvenuti tra i primi a dare forma a Sarà per sempre sì.',
      errorEmail: 'Inserite un indirizzo email valido.',
      errorServer: 'Qualcosa è andato storto. Riprovate tra un momento.',
    },

    social: {
      eyebrow: 'Le prime reazioni',
      title: 'Le coppie lo aspettavano da tempo.',
      quotes: [
        { t: 'Finalmente una cosa sola per gli inviti, gli RSVP e le foto. Era ora.', who: 'Giulia & Marco - Como' },
        { t: 'L\u2019idea del QR sui tavoli per le foto degli invitati \u00e8 geniale: non vediamo l\u2019ora di provarla al nostro matrimonio.', who: 'Sara & Luca - Verona' },
        { t: 'Sembra un\u2019app vera, curata. Non la solita pagina fai-da-te.', who: 'Chiara & Davide - Firenze' },
      ],
      faqTitle: 'Domande frequenti',
      faqs: [
        { q: 'Gli invitati devono scaricare un\u2019app?', a: 'No. Inquadrano il QR e caricano dal browser, in piena risoluzione. Nessuna app, nessun account.' },
        { q: 'Per quanto restano le foto?', a: 'Le foto restano nella vostra galleria privata per sempre. Potete scaricarle in alta risoluzione quando volete.' },
        { q: '\u00c8 privato?', a: 'S\u00ec. Solo voi e le persone che invitate potete vedere e caricare. Niente \u00e8 pubblico per default.' },
        { q: 'Quanto costa?', a: 'Al lancio il prezzo sar\u00e0 \u20ac129. I Founding Member bloccano l\u2019accesso a vita per \u20ac59, una volta sola.' },
        { q: 'Quando arriva?', a: 'Stiamo costruendo Sarà per sempre sì insieme ai nostri Founding Member. Lasciate l\u2019email: sarete i primi a saperlo.' },
      ],
      finalEyebrow: 'Solo 100 posti',
      finalTitle: 'Organizzatelo. Condividetelo. Custoditelo per sempre.',
      finalBody: 'Diventate Founding Member oggi e bloccate l\u2019accesso a vita per \u20ac59.',
      finalCta: 'Riserva il vostro posto',
    },

    footer: {
      tag: 'Il vostro matrimonio, raccontato con cura.',
      privacy: 'Privacy',
      terms: 'Termini',
      rights: '\u00a9 2026 Sarà per sempre sì. Tutti i diritti riservati.',
    },

    months: ['Mese', 'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
    appui: { you: 'Maya & Theo', ph: '14 giugno 2025', scan: 'Inquadra per condividere', scanNote: 'Carica le tue foto nella galleria di Maya & Theo', upload: 'Carica foto', live: 'In diretta', attending: 'Ci sar\u00f2', declining: 'Non posso', guests: 'Ospiti', diet: 'Intolleranze', table: 'Tavolo' },
  },

  en: {
    nav: { photos: 'Photos', invites: 'Invites', rsvp: 'RSVP', ai: 'AI', founding: 'Founding', cta: 'Reserve your spot' },

    hero: {
      eyebrow: 'Planning + memories, together',
      title: 'Everything for your wedding. In one app.',
      sub: 'Plan it, share it, and keep every memory forever - from the first save-the-date to the last guest photo.',
      cta: 'Reserve your spot',
      secondary: 'See the app',
      trust: 'Join the first couples shaping Sarà per sempre sì.',
    },

    wedge: {
      eyebrow: 'Why Sarà per sempre sì',
      items: [
        { k: 'Plan', t: 'Invites, website, RSVP and tables - planning tools, finally together.' },
        { k: 'Share', t: 'Guests scan a QR and upload photos & videos. No app to download.' },
        { k: 'Remember', t: 'A private gallery that stays yours, forever.' },
      ],
      sub: ['Other apps do ', 'one', '. Sarà per sempre sì does ', 'all three', '.'],
    },

    photos: {
      eyebrow: 'Guest photos',
      title: 'The photos your photographer never caught - captured by everyone who was there.',
      lead: 'A QR on every table. Guests upload in full resolution, instantly - and you wake up with all of them.',
      bullets: [
        'Unlimited full-resolution photos & videos',
        'Guests just scan a QR - no app to download',
        'Instant sharing with everyone',
        'Share straight to Instagram & socials',
        'Live photo slideshow at your reception',
        'Separate galleries for ceremony, reception, dinner - each its own QR',
      ],
    },

    invites: {
      eyebrow: 'Invitations & website',
      title: 'An invitation that doubles as your wedding website.',
      lead: 'An elegant digital invite that opens onto your site: program, menu, gallery and RSVP. A personal link for every guest.',
      bullets: [
        'A personal link for every guest',
        'Elegant, customizable templates',
        'Add-to-calendar in one tap',
        'QR code on your printed cards',
        'Paperless and eco-friendly',
      ],
      hint: 'Tap to open the invitation',
    },

    rsvp: {
      eyebrow: 'RSVP, guest list & tables',
      title: 'RSVPs, allergies and seating - all in real time.',
      lead: 'Responses arrive on their own. You drag guests to tables and export everything for your caterer.',
      bullets: [
        'RSVPs collected automatically',
        'Confirmed / declined / pending, always up to date',
        'Notes per guest (allergies, preferences)',
        'Drag-and-drop seating',
        'Export all responses to CSV for your caterer',
      ],
    },

    ai: {
      eyebrow: 'AI tools',
      title: 'A touch of magic, tastefully done.',
      lead: 'Three tools that make the difference - never gimmicks, always elegant.',
      cards: [
        { icon: 'wand-sparkles', tag: 'Before / After', t: 'AI venue decorator', d: 'Upload a photo of your venue and see it styled your way.' },
        { icon: 'shirt', tag: 'Virtual try-on', t: 'Dress & suit try-on', d: 'Try dresses and suits, virtually, before the atelier.' },
        { icon: 'sparkles', tag: 'Assistant', t: 'AI planning assistant', d: 'Knows your guest list, menu and checklist. Just ask.' },
      ],
    },

    founding: {
      badge: 'Founding Member',
      title: ['Founding Members get lifetime access for ', '\u20ac59', '.'],
      oldPrice: '\u20ac129',
      newPrice: '\u20ac59',
      priceNote: 'once - yours forever',
      scarcity: 'Only the first 100 couples.',
      counterNote: '63 couples have already reserved their spot',
      formTitle: 'Reserve your spot',
      formSub: 'Leave your email and we\u2019ll tell you first when we launch.',
      emailLabel: 'Your email',
      emailPlaceholder: 'name@email.com',
      dateLabel: 'When\u2019s the big day?',
      datePlaceholder: 'Pick a month & year',
      submit: 'Reserve my spot',
      fine: 'No spam. Just one message when Sarà per sempre sì is ready.',
      successTitle: 'You\u2019re in \ud83e\udd0d',
      successBody: 'We\u2019ll be in touch soon. Welcome to the first couples shaping Sarà per sempre sì.',
      errorEmail: 'Please enter a valid email address.',
      errorServer: 'Something went wrong. Please try again in a moment.',
    },

    social: {
      eyebrow: 'Early reactions',
      title: 'Couples have been waiting for this.',
      quotes: [
        { t: 'Finally one thing for invites, RSVPs and photos. About time.', who: 'Giulia & Marco - Como' },
        { t: 'The QR-on-tables idea for guest photos is genius - we can\u2019t wait to use it at our wedding.', who: 'Sara & Luca - Verona' },
        { t: 'It feels like a real, polished app. Not the usual DIY page.', who: 'Chiara & Davide - Firenze' },
      ],
      faqTitle: 'Frequently asked',
      faqs: [
        { q: 'Do guests need an app?', a: 'No. They scan the QR and upload from the browser, in full resolution. No app, no account.' },
        { q: 'How long are the photos stored?', a: 'Your photos stay in your private gallery forever. Download them in full resolution whenever you like.' },
        { q: 'Is it private?', a: 'Yes. Only you and the people you invite can view and upload. Nothing is public by default.' },
        { q: 'What does it cost?', a: 'At launch the price will be €129. Founding Members lock in lifetime access for €59, once.' },
        { q: 'When does it launch?', a: 'We\u2019re building Sarà per sempre sì with our Founding Members. Leave your email and you\u2019ll be the first to know.' },
      ],
      finalEyebrow: 'Only 100 spots',
      finalTitle: 'Plan it. Share it. Keep it forever.',
      finalBody: 'Become a Founding Member today and lock in lifetime access for €59.',
      finalCta: 'Reserve your spot',
    },

    footer: {
      tag: 'Your wedding, beautifully told.',
      privacy: 'Privacy',
      terms: 'Terms',
      rights: '© 2026 Sarà per sempre sì. All rights reserved.',
    },

    months: ['Month', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
    appui: { you: 'Maya & Theo', ph: 'June 14, 2025', scan: 'Scan to share', scanNote: 'Upload your photos to Maya & Theo\u2019s gallery', upload: 'Upload photos', live: 'Live now', attending: 'I\u2019ll be there', declining: 'Can\u2019t make it', guests: 'Guests', diet: 'Allergies', table: 'Table' },
  },
};

const LangContext = React.createContext({ lang: 'it', t: I18N.it, setLang: () => {} });

Object.assign(window, { EB_I18N: I18N, EB_LangContext: LangContext });
