// i18n.jsx — 15-language translation dictionaries for Sendly
// In production these would be JSON files loaded on demand.
// Translations are colloquial-warm, not literal. Tone matches the original copy.

const TRANSLATIONS = {
  en: {
    sign_in: "Sign in",
    eyebrow: "Real messages, sent for one whole euro",
    hero_send_a: "Send a", hero_happy: "happy", hero_or: "or", hero_heartfelt: "heartfelt", hero_note: "note", hero_seconds: "in 30 seconds.",
    hero_sub: "For weddings, birthdays, big promotions, sad goodbyes, and every Tuesday in between. We help you write it, then deliver it to their inbox or phone — in any of 15+ languages.",
    hero_price_line: "One message, anywhere on Earth",
    step1_title: "Who's it for?",     step1_sub: "Step 1 of 5 · The basics",
    step2_title: "What's the occasion?", step2_sub: "Step 2 of 5 · Pick a moment",
    step3_title: "What should it say?", step3_sub: "Step 3 of 5 · You write, we help, or both",
    step4_title: "How do they get it?", step4_sub: "Step 4 of 5 · Email or SMS",
    step5_title: "One last thing — €1.99", step5_sub: "Step 5 of 5 · Pay & send",
    field_recipient: "Recipient's first name", field_family: "Family name", field_your_name: "Your name", field_age: "Their age",
    ph_recipient: "e.g. Aria", ph_family: "e.g. Bashiri", ph_sender: "e.g. Sam", ph_age: "—",
    opt: "optional",
    field_occasion: "Pick an occasion",
    condolence_note_strong: "A gentler palette,", condolence_note_rest: " for a gentler moment. We'll quiet down the colours and tone for condolences.",
    field_how_write: "How should we write it?",
    mode_ai: "✨ Sendly writes it", mode_mix: "🤝 Mix mine + Sendly", mode_mine: "✍️ I'll write it",
    field_your_words: "Your words", ph_your_words: "What do you want them to know?",
    field_sendly_draft: "Sendly's draft", generating: "generating…", regenerate: "🔄 Regenerate",
    ph_draft_generating: "Writing something thoughtful…", ph_draft_idle: "Your AI draft will appear here.",
    send_via: "Send it via",
    email: "Email", email_sub: "Arrives like a postcard",
    sms: "SMS", sms_sub: "Lands on their phone",
    their_email: "Their email", their_phone: "Their phone number",
    deliver: "Deliver", now: "⚡ Right now", schedule: "⏰ Schedule it", save_draft: "📦 Save draft",
    via: "via", right_away: "right away", scheduled: "scheduled",
    pay_or_card: "or pay with card", card_number: "Card number", expiry: "Expiry", cvc: "CVC",
    pay_secure: "🔒 Payments handled securely. We charge €1.99, or roughly $2.15 if you're in a USD account.",
    pay_demo_note: "Sandbox demo — no real charge.",
    back: "Back", continue: "Continue", send_for: "Send for €1.99",
    success_happy: "Off it goes!", success_solemn: "Your note is on its way.",
    success_msg_pre: "We've", success_delivered: "delivered", success_scheduled: "scheduled",
    success_msg_mid: "your message to", success_msg_via: "via", success_msg_post: "€1.99 was charged. Thank you.",
    send_another: "Send another", view_receipt: "View receipt",
    tile1_title: "Just €1.99", tile1_body: "No subscriptions, no upsells. $2.15 if your bank is in dollars. That's it.",
    tile2_title: "15+ languages", tile2_body: "We write and send in the recipient's language, not yours. Auto-detected, always.",
    tile3_title: "You decide the voice", tile3_body: "Let Sendly write it, write your own, or blend both. The words always sound like you.",
    tile4_title: "For every mood", tile4_body: "From wedding speeches to condolences, Sendly knows when to dance and when to whisper.",
    foot: "Made with care · Sendly · postage paid in every direction",
    preview_label: "Live preview · what they'll see",
    to: "To", body_placeholder: "Your message will appear here as you type…",
    occ: { birthday:"Birthday", wedding:"Wedding", newbaby:"New Baby", graduation:"Graduation", newjob:"New Job", anniversary:"Anniversary", recovery:"Get Well", holiday:"Holiday", condolences:"Condolences" },
    tag: { birthday:"Happy Birthday", wedding:"Congratulations on Your Wedding", newbaby:"Welcome, Little One", graduation:"You Did It, Grad", newjob:"Congrats on the New Gig", anniversary:"Happy Anniversary", recovery:"Wishing You a Speedy Recovery", holiday:"Season's Greetings", condolences:"With Heartfelt Condolences" }
  },

  es: {
    sign_in: "Iniciar sesión",
    eyebrow: "Mensajes reales, enviados por €1.99",
    hero_send_a: "Envía una", hero_happy: "feliz", hero_or: "o", hero_heartfelt: "sentida", hero_note: "nota", hero_seconds: "en 30 segundos.",
    hero_sub: "Para bodas, cumpleaños, ascensos, despedidas tristes, y todos los martes intermedios. Te ayudamos a escribirla y la entregamos a su correo o teléfono — en más de 15 idiomas.",
    hero_price_line: "Un mensaje, a cualquier parte del mundo",
    step1_title: "¿Para quién es?", step1_sub: "Paso 1 de 5 · Lo básico",
    step2_title: "¿Cuál es la ocasión?", step2_sub: "Paso 2 de 5 · Elige el momento",
    step3_title: "¿Qué debe decir?", step3_sub: "Paso 3 de 5 · Escribes tú, te ayudamos, o ambos",
    step4_title: "¿Cómo lo reciben?", step4_sub: "Paso 4 de 5 · Email o SMS",
    step5_title: "Una última cosa — €1.99", step5_sub: "Paso 5 de 5 · Pagar y enviar",
    field_recipient: "Nombre de la persona", field_family: "Apellido", field_your_name: "Tu nombre", field_age: "Su edad",
    ph_recipient: "ej. Aria", ph_family: "ej. Bashiri", ph_sender: "ej. Sam", ph_age: "—",
    opt: "opcional",
    field_occasion: "Elige una ocasión",
    condolence_note_strong: "Una paleta más suave,", condolence_note_rest: " para un momento delicado. Bajamos los colores y el tono para las condolencias.",
    field_how_write: "¿Cómo lo escribimos?",
    mode_ai: "✨ Sendly lo escribe", mode_mix: "🤝 Mezcla tu texto y el nuestro", mode_mine: "✍️ Lo escribo yo",
    field_your_words: "Tus palabras", ph_your_words: "¿Qué quieres que sepan?",
    field_sendly_draft: "Borrador de Sendly", generating: "generando…", regenerate: "🔄 Regenerar",
    ph_draft_generating: "Escribiendo algo bonito…", ph_draft_idle: "Tu borrador aparecerá aquí.",
    send_via: "Enviar por",
    email: "Email", email_sub: "Llega como una postal",
    sms: "SMS", sms_sub: "Aterriza en su móvil",
    their_email: "Su email", their_phone: "Su número de teléfono",
    deliver: "Entregar", now: "⚡ Ahora", schedule: "⏰ Programar", save_draft: "📦 Guardar borrador",
    via: "por", right_away: "ahora mismo", scheduled: "programado",
    pay_or_card: "o paga con tarjeta", card_number: "Número de tarjeta", expiry: "Caducidad", cvc: "CVC",
    pay_secure: "🔒 Pago seguro. Cobramos €1.99, o ~$2.15 si tu cuenta está en dólares.",
    pay_demo_note: "Demo en sandbox — no se realiza ningún cobro real.",
    back: "Atrás", continue: "Continuar", send_for: "Enviar por €1.99",
    success_happy: "¡Allá va!", success_solemn: "Tu nota está en camino.",
    success_msg_pre: "Hemos", success_delivered: "entregado", success_scheduled: "programado",
    success_msg_mid: "tu mensaje para", success_msg_via: "por", success_msg_post: "Se cobró €1.99. Gracias.",
    send_another: "Enviar otro", view_receipt: "Ver recibo",
    tile1_title: "Solo €1.99", tile1_body: "Sin suscripciones, sin extras. $2.15 si tu banco está en dólares. Ya está.",
    tile2_title: "Más de 15 idiomas", tile2_body: "Escribimos y enviamos en el idioma del destinatario. Detección automática.",
    tile3_title: "Tú eliges la voz", tile3_body: "Deja que Sendly lo escriba, escríbelo tú, o mezcla ambos. Las palabras siempre suenan a ti.",
    tile4_title: "Para todos los ánimos", tile4_body: "Desde brindis hasta condolencias, Sendly sabe cuándo bailar y cuándo susurrar.",
    foot: "Hecho con cariño · Sendly · franqueo pagado en todas direcciones",
    preview_label: "Vista previa · lo que verán",
    to: "Para", body_placeholder: "Tu mensaje aparecerá aquí mientras escribes…",
    occ: { birthday:"Cumpleaños", wedding:"Boda", newbaby:"Nuevo bebé", graduation:"Graduación", newjob:"Trabajo nuevo", anniversary:"Aniversario", recovery:"Recuperación", holiday:"Fiestas", condolences:"Condolencias" },
    tag: { birthday:"Feliz Cumpleaños", wedding:"Felicidades por tu Boda", newbaby:"Bienvenido al mundo", graduation:"Lo Lograste, Graduado", newjob:"Felicidades por el Nuevo Trabajo", anniversary:"Feliz Aniversario", recovery:"Pronta Recuperación", holiday:"Felices Fiestas", condolences:"Mis más Sentidas Condolencias" }
  },

  fr: {
    sign_in: "Se connecter",
    eyebrow: "De vrais messages, envoyés pour un seul euro",
    hero_send_a: "Envoyez un", hero_happy: "joyeux", hero_or: "ou", hero_heartfelt: "sincère", hero_note: "mot", hero_seconds: "en 30 secondes.",
    hero_sub: "Pour les mariages, anniversaires, promotions, adieux tristes, et tous les mardis entre les deux. Nous l'écrivons avec vous, puis l'envoyons à leur boîte mail ou téléphone — dans 15+ langues.",
    hero_price_line: "Un message, partout dans le monde",
    step1_title: "Pour qui est-ce ?", step1_sub: "Étape 1 sur 5 · L'essentiel",
    step2_title: "Quelle est l'occasion ?", step2_sub: "Étape 2 sur 5 · Choisissez un moment",
    step3_title: "Que doit-il dire ?", step3_sub: "Étape 3 sur 5 · Vous écrivez, on aide, ou les deux",
    step4_title: "Comment le reçoivent-ils ?", step4_sub: "Étape 4 sur 5 · Email ou SMS",
    step5_title: "Une dernière chose — 1,99 €", step5_sub: "Étape 5 sur 5 · Payer & envoyer",
    field_recipient: "Prénom du destinataire", field_family: "Nom de famille", field_your_name: "Votre nom", field_age: "Son âge",
    ph_recipient: "ex. Aria", ph_family: "ex. Bashiri", ph_sender: "ex. Sam", ph_age: "—",
    opt: "optionnel",
    field_occasion: "Choisissez une occasion",
    condolence_note_strong: "Une palette plus douce,", condolence_note_rest: " pour un moment plus doux. Nous adoucissons les couleurs et le ton pour les condoléances.",
    field_how_write: "Comment l'écrivons-nous ?",
    mode_ai: "✨ Sendly l'écrit", mode_mix: "🤝 Mes mots + Sendly", mode_mine: "✍️ J'écris tout",
    field_your_words: "Vos mots", ph_your_words: "Que voulez-vous leur dire ?",
    field_sendly_draft: "Brouillon Sendly", generating: "génération…", regenerate: "🔄 Régénérer",
    ph_draft_generating: "On écrit quelque chose de juste…", ph_draft_idle: "Votre brouillon apparaîtra ici.",
    send_via: "Envoyer par",
    email: "Email", email_sub: "Arrive comme une carte postale",
    sms: "SMS", sms_sub: "Atterrit sur leur téléphone",
    their_email: "Son email", their_phone: "Son numéro de téléphone",
    deliver: "Livraison", now: "⚡ Maintenant", schedule: "⏰ Programmer", save_draft: "📦 Brouillon",
    via: "par", right_away: "tout de suite", scheduled: "programmé",
    pay_or_card: "ou payer par carte", card_number: "Numéro de carte", expiry: "Expiration", cvc: "CVC",
    pay_secure: "🔒 Paiement sécurisé. 1,99 € débité, ou ~2,15 $ si votre compte est en dollars.",
    pay_demo_note: "Démo bac à sable — aucun débit réel.",
    back: "Retour", continue: "Continuer", send_for: "Envoyer pour 1,99 €",
    success_happy: "C'est parti !", success_solemn: "Votre mot est en route.",
    success_msg_pre: "Nous avons", success_delivered: "livré", success_scheduled: "programmé",
    success_msg_mid: "votre message à", success_msg_via: "par", success_msg_post: "1,99 € débité. Merci.",
    send_another: "Envoyer un autre", view_receipt: "Voir le reçu",
    tile1_title: "Juste 1,99 €", tile1_body: "Pas d'abonnement, pas d'extras. ~2,15 $ si votre banque est en dollars.",
    tile2_title: "Plus de 15 langues", tile2_body: "Nous écrivons et envoyons dans la langue du destinataire. Toujours.",
    tile3_title: "Vous choisissez la voix", tile3_body: "Laissez Sendly l'écrire, écrivez vous-même, ou mélangez les deux.",
    tile4_title: "Pour chaque humeur", tile4_body: "Des toasts de mariage aux condoléances, Sendly sait quand danser et quand murmurer.",
    foot: "Fait avec soin · Sendly · port payé dans toutes les directions",
    preview_label: "Aperçu en direct · ce qu'ils verront",
    to: "À", body_placeholder: "Votre message apparaîtra ici…",
    occ: { birthday:"Anniversaire", wedding:"Mariage", newbaby:"Naissance", graduation:"Diplôme", newjob:"Nouveau Travail", anniversary:"Anniversaire de couple", recovery:"Rétablissement", holiday:"Fêtes", condolences:"Condoléances" },
    tag: { birthday:"Joyeux Anniversaire", wedding:"Félicitations pour votre Mariage", newbaby:"Bienvenue, petit être", graduation:"Tu l'as fait, diplômé", newjob:"Félicitations pour le Nouveau Travail", anniversary:"Joyeux Anniversaire", recovery:"Prompt Rétablissement", holiday:"Joyeuses Fêtes", condolences:"Sincères Condoléances" }
  },

  de: {
    sign_in: "Anmelden",
    eyebrow: "Echte Nachrichten, für einen ganzen Euro verschickt",
    hero_send_a: "Schick eine", hero_happy: "fröhliche", hero_or: "oder", hero_heartfelt: "herzliche", hero_note: "Nachricht", hero_seconds: "in 30 Sekunden.",
    hero_sub: "Für Hochzeiten, Geburtstage, Beförderungen, traurige Abschiede und jeden Dienstag dazwischen. Wir helfen beim Schreiben und liefern sie an die Inbox oder das Handy — in über 15 Sprachen.",
    hero_price_line: "Eine Nachricht, überall auf der Welt",
    step1_title: "Für wen ist sie?", step1_sub: "Schritt 1 von 5 · Die Basics",
    step2_title: "Welcher Anlass?", step2_sub: "Schritt 2 von 5 · Wähle den Moment",
    step3_title: "Was soll drinstehen?", step3_sub: "Schritt 3 von 5 · Du schreibst, wir helfen, oder beides",
    step4_title: "Wie soll's ankommen?", step4_sub: "Schritt 4 von 5 · E-Mail oder SMS",
    step5_title: "Nur noch eins — 1,99 €", step5_sub: "Schritt 5 von 5 · Zahlen & senden",
    field_recipient: "Vorname der Person", field_family: "Nachname", field_your_name: "Dein Name", field_age: "Alter",
    ph_recipient: "z.B. Aria", ph_family: "z.B. Bashiri", ph_sender: "z.B. Sam", ph_age: "—",
    opt: "optional",
    field_occasion: "Wähle einen Anlass",
    condolence_note_strong: "Eine sanftere Palette,", condolence_note_rest: " für einen sanfteren Moment. Bei Beileid drehen wir die Farben und den Ton zurück.",
    field_how_write: "Wie schreiben wir?",
    mode_ai: "✨ Sendly schreibt", mode_mix: "🤝 Mein Text + Sendly", mode_mine: "✍️ Ich schreibe selbst",
    field_your_words: "Deine Worte", ph_your_words: "Was sollen sie wissen?",
    field_sendly_draft: "Sendly-Entwurf", generating: "wird geschrieben…", regenerate: "🔄 Neu generieren",
    ph_draft_generating: "Schreibe etwas Schönes…", ph_draft_idle: "Dein Entwurf erscheint hier.",
    send_via: "Senden per",
    email: "E-Mail", email_sub: "Kommt wie eine Postkarte an",
    sms: "SMS", sms_sub: "Landet auf dem Handy",
    their_email: "Ihre E-Mail", their_phone: "Ihre Telefonnummer",
    deliver: "Zustellen", now: "⚡ Jetzt", schedule: "⏰ Planen", save_draft: "📦 Entwurf speichern",
    via: "per", right_away: "sofort", scheduled: "geplant",
    pay_or_card: "oder mit Karte zahlen", card_number: "Kartennummer", expiry: "Ablauf", cvc: "CVC",
    pay_secure: "🔒 Sichere Zahlung. 1,99 € werden abgebucht, oder ~$2.15 bei einem Dollar-Konto.",
    pay_demo_note: "Sandbox-Demo — keine echte Abbuchung.",
    back: "Zurück", continue: "Weiter", send_for: "Für 1,99 € senden",
    success_happy: "Auf geht's!", success_solemn: "Deine Nachricht ist unterwegs.",
    success_msg_pre: "Wir haben deine Nachricht", success_delivered: "zugestellt", success_scheduled: "geplant",
    success_msg_mid: "für", success_msg_via: "per", success_msg_post: "1,99 € wurden abgebucht. Danke.",
    send_another: "Noch eine senden", view_receipt: "Beleg ansehen",
    tile1_title: "Nur 1,99 €", tile1_body: "Kein Abo, keine Extras. ~$2.15 bei Dollar-Konten. Das war's.",
    tile2_title: "Mehr als 15 Sprachen", tile2_body: "Wir schreiben und senden in der Sprache des Empfängers. Automatisch erkannt.",
    tile3_title: "Du bestimmst den Ton", tile3_body: "Lass Sendly schreiben, schreib selbst, oder misch beides. Klingt immer nach dir.",
    tile4_title: "Für jede Stimmung", tile4_body: "Von Hochzeitsreden bis Beileid — Sendly weiß, wann getanzt und wann geflüstert wird.",
    foot: "Mit Sorgfalt gemacht · Sendly · Porto in alle Richtungen bezahlt",
    preview_label: "Live-Vorschau · was sie sehen werden",
    to: "An", body_placeholder: "Deine Nachricht erscheint hier…",
    occ: { birthday:"Geburtstag", wedding:"Hochzeit", newbaby:"Baby", graduation:"Abschluss", newjob:"Neuer Job", anniversary:"Jahrestag", recovery:"Gute Besserung", holiday:"Feiertage", condolences:"Beileid" },
    tag: { birthday:"Alles Gute zum Geburtstag", wedding:"Herzlichen Glückwunsch zur Hochzeit", newbaby:"Willkommen, kleines Wunder", graduation:"Du hast es geschafft", newjob:"Glückwunsch zum neuen Job", anniversary:"Alles Gute zum Jahrestag", recovery:"Gute Besserung", holiday:"Frohe Feiertage", condolences:"Herzliches Beileid" }
  },

  it: {
    sign_in: "Accedi",
    eyebrow: "Messaggi veri, inviati per un solo euro",
    hero_send_a: "Manda un", hero_happy: "felice", hero_or: "o", hero_heartfelt: "sincero", hero_note: "messaggio", hero_seconds: "in 30 secondi.",
    hero_sub: "Per matrimoni, compleanni, promozioni, addii tristi, e ogni martedì nel mezzo. Ti aiutiamo a scriverlo e lo consegniamo via email o telefono — in oltre 15 lingue.",
    hero_price_line: "Un messaggio, ovunque nel mondo",
    step1_title: "Per chi è?", step1_sub: "Passo 1 di 5 · Le basi",
    step2_title: "Qual è l'occasione?", step2_sub: "Passo 2 di 5 · Scegli un momento",
    step3_title: "Cosa deve dire?", step3_sub: "Passo 3 di 5 · Scrivi tu, aiutiamo noi, o entrambi",
    step4_title: "Come lo ricevono?", step4_sub: "Passo 4 di 5 · Email o SMS",
    step5_title: "Un'ultima cosa — 1,99 €", step5_sub: "Passo 5 di 5 · Paga & invia",
    field_recipient: "Nome del destinatario", field_family: "Cognome", field_your_name: "Il tuo nome", field_age: "La sua età",
    ph_recipient: "es. Aria", ph_family: "es. Bashiri", ph_sender: "es. Sam", ph_age: "—",
    opt: "facoltativo",
    field_occasion: "Scegli un'occasione",
    condolence_note_strong: "Una tavolozza più tenue,", condolence_note_rest: " per un momento più delicato. Per le condoglianze abbassiamo colori e tono.",
    field_how_write: "Come lo scriviamo?",
    mode_ai: "✨ Lo scrive Sendly", mode_mix: "🤝 Il mio testo + Sendly", mode_mine: "✍️ Scrivo io",
    field_your_words: "Le tue parole", ph_your_words: "Cosa vuoi che sappiano?",
    field_sendly_draft: "Bozza di Sendly", generating: "generazione…", regenerate: "🔄 Rigenera",
    ph_draft_generating: "Stiamo scrivendo qualcosa di bello…", ph_draft_idle: "La bozza apparirà qui.",
    send_via: "Invia tramite",
    email: "Email", email_sub: "Arriva come una cartolina",
    sms: "SMS", sms_sub: "Atterra sul loro telefono",
    their_email: "La sua email", their_phone: "Il suo numero di telefono",
    deliver: "Consegna", now: "⚡ Ora", schedule: "⏰ Programma", save_draft: "📦 Salva bozza",
    via: "via", right_away: "subito", scheduled: "programmato",
    pay_or_card: "oppure paga con carta", card_number: "Numero carta", expiry: "Scadenza", cvc: "CVC",
    pay_secure: "🔒 Pagamento sicuro. Addebito di 1,99 €, o ~$2.15 se il conto è in dollari.",
    pay_demo_note: "Demo sandbox — nessun addebito reale.",
    back: "Indietro", continue: "Continua", send_for: "Invia per 1,99 €",
    success_happy: "Eccolo che parte!", success_solemn: "Il tuo messaggio è in arrivo.",
    success_msg_pre: "Abbiamo", success_delivered: "consegnato", success_scheduled: "programmato",
    success_msg_mid: "il tuo messaggio a", success_msg_via: "via", success_msg_post: "Addebitato 1,99 €. Grazie.",
    send_another: "Inviane un altro", view_receipt: "Vedi ricevuta",
    tile1_title: "Solo 1,99 €", tile1_body: "Niente abbonamenti, niente extra. ~$2.15 se il conto è in dollari.",
    tile2_title: "Più di 15 lingue", tile2_body: "Scriviamo e inviamo nella lingua del destinatario. Sempre.",
    tile3_title: "Decidi tu la voce", tile3_body: "Lascia che scriva Sendly, scrivi tu, o mescola le due cose.",
    tile4_title: "Per ogni umore", tile4_body: "Dai brindisi alle condoglianze, Sendly sa quando ballare e quando sussurrare.",
    foot: "Fatto con cura · Sendly · affrancatura pagata in ogni direzione",
    preview_label: "Anteprima · cosa vedranno",
    to: "Per", body_placeholder: "Il tuo messaggio apparirà qui…",
    occ: { birthday:"Compleanno", wedding:"Matrimonio", newbaby:"Bebè", graduation:"Laurea", newjob:"Nuovo lavoro", anniversary:"Anniversario", recovery:"Guarigione", holiday:"Feste", condolences:"Condoglianze" },
    tag: { birthday:"Buon Compleanno", wedding:"Congratulazioni per il vostro Matrimonio", newbaby:"Benvenuto al mondo", graduation:"Ce l'hai fatta", newjob:"Congratulazioni per il nuovo lavoro", anniversary:"Buon Anniversario", recovery:"Pronta Guarigione", holiday:"Buone Feste", condolences:"Sentite Condoglianze" }
  },

  pt: {
    sign_in: "Entrar",
    eyebrow: "Mensagens reais, enviadas por um euro",
    hero_send_a: "Envie uma", hero_happy: "feliz", hero_or: "ou", hero_heartfelt: "sentida", hero_note: "mensagem", hero_seconds: "em 30 segundos.",
    hero_sub: "Para casamentos, aniversários, promoções, despedidas tristes, e cada terça-feira pelo meio. Ajudamos a escrever e entregamos no email ou no telemóvel — em mais de 15 idiomas.",
    hero_price_line: "Uma mensagem, em qualquer parte do mundo",
    step1_title: "Para quem é?", step1_sub: "Passo 1 de 5 · O básico",
    step2_title: "Qual é a ocasião?", step2_sub: "Passo 2 de 5 · Escolha o momento",
    step3_title: "O que deve dizer?", step3_sub: "Passo 3 de 5 · Escreve, ajudamos, ou ambos",
    step4_title: "Como vão receber?", step4_sub: "Passo 4 de 5 · Email ou SMS",
    step5_title: "Uma última coisa — €1.99", step5_sub: "Passo 5 de 5 · Pagar & enviar",
    field_recipient: "Nome próprio", field_family: "Apelido", field_your_name: "O seu nome", field_age: "A idade dele(a)",
    ph_recipient: "ex. Aria", ph_family: "ex. Bashiri", ph_sender: "ex. Sam", ph_age: "—",
    opt: "opcional",
    field_occasion: "Escolha uma ocasião",
    condolence_note_strong: "Uma paleta mais suave,", condolence_note_rest: " para um momento mais sereno. Baixamos cores e tom para condolências.",
    field_how_write: "Como escrevemos?",
    mode_ai: "✨ Sendly escreve", mode_mix: "🤝 Misturar minhas palavras + Sendly", mode_mine: "✍️ Eu escrevo",
    field_your_words: "As suas palavras", ph_your_words: "O que quer que saibam?",
    field_sendly_draft: "Rascunho do Sendly", generating: "a gerar…", regenerate: "🔄 Regerar",
    ph_draft_generating: "A escrever algo bonito…", ph_draft_idle: "O seu rascunho aparece aqui.",
    send_via: "Enviar por",
    email: "Email", email_sub: "Chega como um postal",
    sms: "SMS", sms_sub: "Aterra no telemóvel deles",
    their_email: "O email deles", their_phone: "O número de telefone deles",
    deliver: "Entregar", now: "⚡ Agora", schedule: "⏰ Agendar", save_draft: "📦 Guardar rascunho",
    via: "por", right_away: "agora mesmo", scheduled: "agendado",
    pay_or_card: "ou pague com cartão", card_number: "Número do cartão", expiry: "Validade", cvc: "CVC",
    pay_secure: "🔒 Pagamento seguro. Cobramos €1.99, ou ~$2.15 se a conta for em dólares.",
    pay_demo_note: "Demo sandbox — nenhum débito real.",
    back: "Voltar", continue: "Continuar", send_for: "Enviar por €1.99",
    success_happy: "Lá vai!", success_solemn: "A sua nota está a caminho.",
    success_msg_pre: "Já", success_delivered: "entregámos", success_scheduled: "agendámos",
    success_msg_mid: "a sua mensagem para", success_msg_via: "por", success_msg_post: "Cobrado €1.99. Obrigado.",
    send_another: "Enviar outra", view_receipt: "Ver recibo",
    tile1_title: "Apenas €1.99", tile1_body: "Sem subscrições, sem extras. ~$2.15 em contas de dólares.",
    tile2_title: "Mais de 15 idiomas", tile2_body: "Escrevemos e enviamos na língua do destinatário. Sempre.",
    tile3_title: "Você escolhe a voz", tile3_body: "Deixe o Sendly escrever, escreva você, ou misture as duas.",
    tile4_title: "Para cada estado de alma", tile4_body: "De brindes a condolências, Sendly sabe quando dançar e quando sussurrar.",
    foot: "Feito com carinho · Sendly · porte pago em todas as direções",
    preview_label: "Pré-visualização · o que eles vão ver",
    to: "Para", body_placeholder: "A sua mensagem aparece aqui…",
    occ: { birthday:"Aniversário", wedding:"Casamento", newbaby:"Bebé", graduation:"Formatura", newjob:"Novo Trabalho", anniversary:"Aniversário de casamento", recovery:"Melhoras", holiday:"Festas", condolences:"Condolências" },
    tag: { birthday:"Feliz Aniversário", wedding:"Parabéns pelo Casamento", newbaby:"Bem-vindo ao mundo", graduation:"Conseguiste", newjob:"Parabéns pelo Novo Emprego", anniversary:"Feliz Aniversário", recovery:"Rápidas Melhoras", holiday:"Boas Festas", condolences:"Sinceras Condolências" }
  },

  ar: {
    sign_in: "تسجيل الدخول",
    eyebrow: "رسائل حقيقية، تُرسل مقابل يورو واحد فقط",
    hero_send_a: "أرسل", hero_happy: "تهنئة", hero_or: "أو", hero_heartfelt: "كلمة من القلب", hero_note: "رسالة", hero_seconds: "في 30 ثانية.",
    hero_sub: "لحفلات الزفاف، أعياد الميلاد، الترقيات، الوداع الحزين، وكل ثلاثاء بينهما. نساعدك في كتابتها، ثم نوصلها إلى بريدهم أو هاتفهم — بأكثر من 15 لغة.",
    hero_price_line: "رسالة واحدة، في أي مكان على الأرض",
    step1_title: "لمن هي؟", step1_sub: "الخطوة 1 من 5 · الأساسيات",
    step2_title: "ما المناسبة؟", step2_sub: "الخطوة 2 من 5 · اختر اللحظة",
    step3_title: "ماذا تريد أن تقول؟", step3_sub: "الخطوة 3 من 5 · أنت تكتب، نحن نساعد، أو الاثنان",
    step4_title: "كيف تصلهم؟", step4_sub: "الخطوة 4 من 5 · بريد أو رسالة نصية",
    step5_title: "شيء أخير — 1€", step5_sub: "الخطوة 5 من 5 · الدفع والإرسال",
    field_recipient: "الاسم الأول", field_family: "اللقب", field_your_name: "اسمك", field_age: "عمره/عمرها",
    ph_recipient: "مثال: آريا", ph_family: "مثال: بشيري", ph_sender: "مثال: سام", ph_age: "—",
    opt: "اختياري",
    field_occasion: "اختر المناسبة",
    condolence_note_strong: "ألوان أكثر هدوءاً،", condolence_note_rest: " للحظة أكثر رقّة. نخفّف الألوان والنبرة في رسائل العزاء.",
    field_how_write: "كيف نكتبها؟",
    mode_ai: "✨ يكتبها Sendly", mode_mix: "🤝 امزج كلماتي مع Sendly", mode_mine: "✍️ سأكتبها بنفسي",
    field_your_words: "كلماتك", ph_your_words: "ماذا تريد أن يعرفوا؟",
    field_sendly_draft: "مسودّة Sendly", generating: "جاري الكتابة…", regenerate: "🔄 إعادة التوليد",
    ph_draft_generating: "نكتب شيئاً جميلاً…", ph_draft_idle: "ستظهر مسوّدتك هنا.",
    send_via: "أرسلها عبر",
    email: "البريد الإلكتروني", email_sub: "تصل كبطاقة بريدية",
    sms: "رسالة نصية", sms_sub: "تظهر على هاتفهم",
    their_email: "بريدهم الإلكتروني", their_phone: "رقم هاتفهم",
    deliver: "التسليم", now: "⚡ الآن", schedule: "⏰ جدولة", save_draft: "📦 حفظ كمسودة",
    via: "عبر", right_away: "الآن", scheduled: "مجدولة",
    pay_or_card: "أو ادفع بالبطاقة", card_number: "رقم البطاقة", expiry: "الانتهاء", cvc: "CVC",
    pay_secure: "🔒 دفع آمن. نخصم 1 يورو، أو ما يعادل $2.15 لحسابات الدولار.",
    pay_demo_note: "وضع تجريبي — لن يتم خصم أي مبلغ.",
    back: "رجوع", continue: "متابعة", send_for: "أرسل مقابل 1€",
    success_happy: "ها هي تنطلق!", success_solemn: "رسالتك في طريقها.",
    success_msg_pre: "لقد", success_delivered: "أرسلنا", success_scheduled: "جدولنا",
    success_msg_mid: "رسالتك إلى", success_msg_via: "عبر", success_msg_post: "تم خصم 1 يورو. شكراً لك.",
    send_another: "إرسال أخرى", view_receipt: "عرض الإيصال",
    tile1_title: "€1.99 فقط", tile1_body: "بلا اشتراكات، بلا إضافات. ~2.15$ لحسابات الدولار.",
    tile2_title: "أكثر من 15 لغة", tile2_body: "نكتب ونرسل بلغة المستلم، دائماً.",
    tile3_title: "أنت تختار الصوت", tile3_body: "دع Sendly يكتبها، اكتبها بنفسك، أو امزج الاثنين.",
    tile4_title: "لكل المشاعر", tile4_body: "من خطب الأعراس إلى العزاء، يعرف Sendly متى يرقص ومتى يهمس.",
    foot: "صُنع بحبّ · Sendly · أجور البريد مدفوعة في كل الاتجاهات",
    preview_label: "معاينة مباشرة · ما سيرونه",
    to: "إلى", body_placeholder: "ستظهر رسالتك هنا أثناء الكتابة…",
    occ: { birthday:"عيد ميلاد", wedding:"زفاف", newbaby:"مولود جديد", graduation:"تخرّج", newjob:"وظيفة جديدة", anniversary:"ذكرى زواج", recovery:"شفاء", holiday:"عطلة", condolences:"تعزية" },
    tag: { birthday:"عيد ميلاد سعيد", wedding:"مبارك زواجكما", newbaby:"أهلاً بالقادم الصغير", graduation:"لقد فعلتها", newjob:"مبارك الوظيفة الجديدة", anniversary:"ذكرى زواج سعيدة", recovery:"شفاء عاجل", holiday:"أعياد سعيدة", condolences:"خالص التعازي" }
  },

  zh: {
    sign_in: "登录",
    eyebrow: "真实的祝福，仅需一欧元",
    hero_send_a: "发一份", hero_happy: "快乐的", hero_or: "或", hero_heartfelt: "温暖的", hero_note: "心意", hero_seconds: "只需 30 秒。",
    hero_sub: "婚礼、生日、升职、悲伤的告别，以及夹在中间的每个周二。我们帮你写好，再送到他们的邮箱或手机里——支持 15+ 种语言。",
    hero_price_line: "一份信息，送到地球的任何一角",
    step1_title: "发给谁？", step1_sub: "第 1 步 / 共 5 步 · 基本信息",
    step2_title: "什么场合？", step2_sub: "第 2 步 / 共 5 步 · 选择时刻",
    step3_title: "该写些什么？", step3_sub: "第 3 步 / 共 5 步 · 你写、我们帮、或两者结合",
    step4_title: "如何送达？", step4_sub: "第 4 步 / 共 5 步 · 邮件或短信",
    step5_title: "最后一步 — €1.99", step5_sub: "第 5 步 / 共 5 步 · 支付并发送",
    field_recipient: "对方名字", field_family: "姓氏", field_your_name: "你的名字", field_age: "对方年龄",
    ph_recipient: "例如：小雅", ph_family: "例如：李", ph_sender: "例如：山姆", ph_age: "—",
    opt: "可选",
    field_occasion: "选择场合",
    condolence_note_strong: "更柔和的色调，", condolence_note_rest: "适合更温柔的时刻。哀悼信息我们会调淡色彩与语气。",
    field_how_write: "我们怎么写？",
    mode_ai: "✨ Sendly 来写", mode_mix: "🤝 我和 Sendly 一起写", mode_mine: "✍️ 我自己写",
    field_your_words: "你想说的话", ph_your_words: "你想让他们知道什么？",
    field_sendly_draft: "Sendly 的草稿", generating: "生成中…", regenerate: "🔄 重新生成",
    ph_draft_generating: "正在写一段贴心的话…", ph_draft_idle: "你的草稿会出现在这里。",
    send_via: "通过",
    email: "邮件", email_sub: "像明信片一样送达",
    sms: "短信", sms_sub: "直接到他们手机",
    their_email: "他们的邮箱", their_phone: "他们的电话号码",
    deliver: "送达方式", now: "⚡ 立刻", schedule: "⏰ 定时", save_draft: "📦 存为草稿",
    via: "通过", right_away: "立刻送达", scheduled: "已定时",
    pay_or_card: "或用银行卡支付", card_number: "卡号", expiry: "有效期", cvc: "CVC",
    pay_secure: "🔒 支付安全。我们收取 €1.99，或美元账户约 $2.15。",
    pay_demo_note: "沙盒演示 — 不会真正扣款。",
    back: "返回", continue: "继续", send_for: "支付 €1.99 发送",
    success_happy: "送出去啦！", success_solemn: "你的心意已在路上。",
    success_msg_pre: "我们已", success_delivered: "送达", success_scheduled: "安排",
    success_msg_mid: "你的信息给", success_msg_via: "通过", success_msg_post: "已扣除 €1.99，谢谢你。",
    send_another: "再发一条", view_receipt: "查看收据",
    tile1_title: "仅需 €1.99", tile1_body: "无订阅、无附加。美元账户约 $2.15。",
    tile2_title: "15+ 种语言", tile2_body: "我们用收件人的语言书写并发送，自动识别。",
    tile3_title: "由你决定语气", tile3_body: "让 Sendly 写、自己写或混合两者。听起来都像你。",
    tile4_title: "适合每种心情", tile4_body: "从婚礼祝词到哀悼信，Sendly 知道何时起舞、何时低语。",
    foot: "用心制作 · Sendly · 邮资各方向预付",
    preview_label: "实时预览 · 他们将看到的样子",
    to: "致", body_placeholder: "你写的内容会即时出现在这里…",
    occ: { birthday:"生日", wedding:"婚礼", newbaby:"新生宝宝", graduation:"毕业", newjob:"新工作", anniversary:"周年", recovery:"康复", holiday:"节日", condolences:"哀悼" },
    tag: { birthday:"生日快乐", wedding:"新婚快乐", newbaby:"欢迎你来到这个世界", graduation:"恭喜毕业", newjob:"新工作顺利", anniversary:"周年快乐", recovery:"早日康复", holiday:"节日快乐", condolences:"深切哀悼" }
  },

  hi: {
    sign_in: "साइन इन",
    eyebrow: "असली संदेश, सिर्फ़ €1.99 में",
    hero_send_a: "भेजें एक", hero_happy: "खुशी भरा", hero_or: "या", hero_heartfelt: "दिल से", hero_note: "संदेश", hero_seconds: "30 सेकंड में।",
    hero_sub: "शादियों, जन्मदिनों, तरक्की, अलविदा कहने के दुखद पलों, और बीच के हर मंगलवार के लिए। हम लिखने में मदद करते हैं और मेल या फ़ोन पर पहुँचाते हैं — 15+ भाषाओं में।",
    hero_price_line: "एक संदेश, दुनिया में कहीं भी",
    step1_title: "किसके लिए है?", step1_sub: "चरण 1/5 · बुनियादी बातें",
    step2_title: "क्या मौक़ा है?", step2_sub: "चरण 2/5 · पल चुनें",
    step3_title: "क्या लिखना है?", step3_sub: "चरण 3/5 · आप लिखें, हम मदद करें, या दोनों",
    step4_title: "कैसे पहुँचेगा?", step4_sub: "चरण 4/5 · ईमेल या SMS",
    step5_title: "एक आख़िरी बात — €1.99", step5_sub: "चरण 5/5 · भुगतान और भेजें",
    field_recipient: "जिसके लिए है उनका नाम", field_family: "उपनाम", field_your_name: "आपका नाम", field_age: "उनकी उम्र",
    ph_recipient: "जैसे: आर्या", ph_family: "जैसे: शर्मा", ph_sender: "जैसे: सैम", ph_age: "—",
    opt: "वैकल्पिक",
    field_occasion: "मौक़ा चुनें",
    condolence_note_strong: "हल्के रंग,", condolence_note_rest: " कोमल पलों के लिए। शोक संदेशों में हम रंग और लहज़ा शांत कर देते हैं।",
    field_how_write: "कैसे लिखें?",
    mode_ai: "✨ Sendly लिखे", mode_mix: "🤝 मेरा और Sendly का मिश्रण", mode_mine: "✍️ मैं ख़ुद लिखूँगा",
    field_your_words: "आपके शब्द", ph_your_words: "आप उन्हें क्या बताना चाहते हैं?",
    field_sendly_draft: "Sendly का मसौदा", generating: "बन रहा है…", regenerate: "🔄 दोबारा बनाएँ",
    ph_draft_generating: "कुछ अच्छा लिख रहे हैं…", ph_draft_idle: "आपका मसौदा यहाँ दिखेगा।",
    send_via: "इसके द्वारा भेजें",
    email: "ईमेल", email_sub: "पोस्टकार्ड की तरह पहुँचेगा",
    sms: "SMS", sms_sub: "सीधे उनके फ़ोन पर",
    their_email: "उनका ईमेल", their_phone: "उनका फ़ोन नंबर",
    deliver: "डिलीवरी", now: "⚡ अभी", schedule: "⏰ शेड्यूल", save_draft: "📦 मसौदा सहेजें",
    via: "द्वारा", right_away: "अभी", scheduled: "शेड्यूल किया",
    pay_or_card: "या कार्ड से भुगतान करें", card_number: "कार्ड नंबर", expiry: "एक्सपायरी", cvc: "CVC",
    pay_secure: "🔒 सुरक्षित भुगतान। हम €1.99 लेते हैं, या डॉलर खाते में ~$2.15।",
    pay_demo_note: "डेमो मोड — कोई असली शुल्क नहीं लगेगा।",
    back: "पीछे", continue: "जारी", send_for: "€1.99 में भेजें",
    success_happy: "चल पड़ा!", success_solemn: "आपका संदेश रास्ते में है।",
    success_msg_pre: "हमने आपका संदेश", success_delivered: "भेज दिया", success_scheduled: "शेड्यूल कर दिया",
    success_msg_mid: "के लिए", success_msg_via: "द्वारा", success_msg_post: "€1.99 चार्ज किया गया। धन्यवाद।",
    send_another: "एक और भेजें", view_receipt: "रसीद देखें",
    tile1_title: "बस €1.99", tile1_body: "कोई सदस्यता नहीं, कोई जोड़ नहीं। डॉलर खातों के लिए ~$2.15।",
    tile2_title: "15+ भाषाएँ", tile2_body: "हम पाने वाले की भाषा में लिखते और भेजते हैं। हमेशा।",
    tile3_title: "लहज़ा आपका", tile3_body: "Sendly से लिखवाएँ, ख़ुद लिखें, या दोनों मिलाएँ।",
    tile4_title: "हर मूड के लिए", tile4_body: "शादी की बधाई से शोक तक — Sendly जानता है कब नाचना है और कब फुसफुसाना।",
    foot: "प्यार से बना · Sendly · हर दिशा में डाक तय",
    preview_label: "लाइव प्रीव्यू · वो क्या देखेंगे",
    to: "के नाम", body_placeholder: "आपका संदेश यहाँ दिखेगा…",
    occ: { birthday:"जन्मदिन", wedding:"शादी", newbaby:"नया बच्चा", graduation:"स्नातक", newjob:"नई नौकरी", anniversary:"सालगिरह", recovery:"स्वस्थ हों", holiday:"त्योहार", condolences:"शोक" },
    tag: { birthday:"जन्मदिन मुबारक", wedding:"शादी की बधाई", newbaby:"दुनिया में स्वागत है", graduation:"बधाई हो स्नातक", newjob:"नई नौकरी मुबारक", anniversary:"सालगिरह मुबारक", recovery:"जल्द स्वस्थ हों", holiday:"त्योहार मुबारक", condolences:"हार्दिक संवेदनाएँ" }
  },

  ja: {
    sign_in: "サインイン",
    eyebrow: "本物のメッセージを、たった€1.99で",
    hero_send_a: "送ろう、", hero_happy: "うれしい", hero_or: "または", hero_heartfelt: "心からの", hero_note: "メッセージ", hero_seconds: "30秒で。",
    hero_sub: "結婚式、誕生日、昇進、悲しい別れ、そしてその間のすべての火曜日に。文章作成をお手伝いし、メールや電話に届けます — 15以上の言語で。",
    hero_price_line: "1つのメッセージを、世界のどこへでも",
    step1_title: "誰に送る？", step1_sub: "ステップ 1/5 · 基本情報",
    step2_title: "どんな場面？", step2_sub: "ステップ 2/5 · 機会を選ぶ",
    step3_title: "何を書く？", step3_sub: "ステップ 3/5 · あなたが書く、助ける、または両方",
    step4_title: "どうやって届ける？", step4_sub: "ステップ 4/5 · メールかSMS",
    step5_title: "最後にひとつ — €1.99", step5_sub: "ステップ 5/5 · 支払いと送信",
    field_recipient: "相手の名前", field_family: "苗字", field_your_name: "あなたの名前", field_age: "相手の年齢",
    ph_recipient: "例：アリア", ph_family: "例：田中", ph_sender: "例：サム", ph_age: "—",
    opt: "任意",
    field_occasion: "場面を選ぶ",
    condolence_note_strong: "やわらかな色調、", condolence_note_rest: " やさしい瞬間に。お悔やみのときは色とトーンをそっと抑えます。",
    field_how_write: "どう書く？",
    mode_ai: "✨ Sendlyが書く", mode_mix: "🤝 自分の言葉とSendlyを混ぜる", mode_mine: "✍️ 自分で書く",
    field_your_words: "あなたの言葉", ph_your_words: "何を伝えたいですか？",
    field_sendly_draft: "Sendlyの下書き", generating: "生成中…", regenerate: "🔄 再生成",
    ph_draft_generating: "心のこもった文章を書いています…", ph_draft_idle: "下書きがここに表示されます。",
    send_via: "送信方法",
    email: "メール", email_sub: "ポストカードのように届く",
    sms: "SMS", sms_sub: "相手の電話に届く",
    their_email: "相手のメール", their_phone: "相手の電話番号",
    deliver: "配信", now: "⚡ 今すぐ", schedule: "⏰ 予約", save_draft: "📦 下書き保存",
    via: "経由で", right_away: "今すぐ", scheduled: "予約済み",
    pay_or_card: "またはカードで支払う", card_number: "カード番号", expiry: "有効期限", cvc: "CVC",
    pay_secure: "🔒 安全な決済。€1.99、ドル口座なら約 $2.15 を請求します。",
    pay_demo_note: "サンドボックスのデモです — 実際の請求は発生しません。",
    back: "戻る", continue: "次へ", send_for: "€1.99 で送信",
    success_happy: "飛び立ちました！", success_solemn: "あなたの言葉は届けられます。",
    success_msg_pre: "あなたのメッセージを", success_delivered: "送信しました", success_scheduled: "予約しました",
    success_msg_mid: "の宛先に", success_msg_via: "経由で", success_msg_post: "€1.99 が請求されました。ありがとうございます。",
    send_another: "もう1通送る", view_receipt: "領収書を見る",
    tile1_title: "たった €1.99", tile1_body: "サブスクなし、追加料金なし。ドル口座なら約 $2.15。",
    tile2_title: "15以上の言語", tile2_body: "受信者の言語で書いて送ります。自動判定。",
    tile3_title: "声色はあなた次第", tile3_body: "Sendlyに任せる、自分で書く、両方を混ぜる。",
    tile4_title: "どんな気分にも", tile4_body: "結婚式のスピーチからお悔やみまで、Sendlyは踊るときと囁くときを心得ています。",
    foot: "心を込めて · Sendly · あらゆる方向に郵便料金前納",
    preview_label: "ライブプレビュー · 相手に見える様子",
    to: "あて先：", body_placeholder: "入力した内容がここに表示されます…",
    occ: { birthday:"誕生日", wedding:"結婚式", newbaby:"出産", graduation:"卒業", newjob:"新しい仕事", anniversary:"記念日", recovery:"快復", holiday:"祝日", condolences:"お悔やみ" },
    tag: { birthday:"お誕生日おめでとう", wedding:"ご結婚おめでとうございます", newbaby:"ようこそ、小さな君", graduation:"ご卒業おめでとう", newjob:"新しいお仕事おめでとう", anniversary:"記念日おめでとう", recovery:"早いご快復を", holiday:"よいお祝いを", condolences:"心よりお悔やみ申し上げます" }
  },

  ko: {
    sign_in: "로그인",
    eyebrow: "진심을 담은 메시지를 단 1유로에",
    hero_send_a: "보내세요", hero_happy: "기쁜", hero_or: "또는", hero_heartfelt: "따뜻한", hero_note: "메시지", hero_seconds: "단 30초.",
    hero_sub: "결혼식, 생일, 승진, 슬픈 작별, 그리고 그 사이의 모든 화요일에. 작성을 도와드리고 이메일이나 휴대폰으로 전달해 드려요 — 15개 이상의 언어로.",
    hero_price_line: "한 통의 메시지를, 지구 어디든",
    step1_title: "누구에게?", step1_sub: "5단계 중 1단계 · 기본 정보",
    step2_title: "어떤 자리?", step2_sub: "5단계 중 2단계 · 순간 선택",
    step3_title: "무슨 말을 할까?", step3_sub: "5단계 중 3단계 · 직접 쓰기, 도움 받기, 또는 둘 다",
    step4_title: "어떻게 받게 할까?", step4_sub: "5단계 중 4단계 · 이메일 또는 SMS",
    step5_title: "마지막 한 가지 — €1.99", step5_sub: "5단계 중 5단계 · 결제 후 보내기",
    field_recipient: "받는 사람 이름", field_family: "성", field_your_name: "보내는 사람", field_age: "상대 나이",
    ph_recipient: "예: 아리아", ph_family: "예: 김", ph_sender: "예: 샘", ph_age: "—",
    opt: "선택",
    field_occasion: "상황 선택",
    condolence_note_strong: "더 차분한 색감,", condolence_note_rest: " 더 부드러운 순간을 위해. 조의 메시지는 색과 어조를 가라앉힙니다.",
    field_how_write: "어떻게 쓸까요?",
    mode_ai: "✨ Sendly가 작성", mode_mix: "🤝 내 말 + Sendly", mode_mine: "✍️ 직접 작성",
    field_your_words: "당신의 말", ph_your_words: "그들에게 무엇을 전하고 싶나요?",
    field_sendly_draft: "Sendly 초안", generating: "생성 중…", regenerate: "🔄 다시 생성",
    ph_draft_generating: "마음을 담아 작성 중…", ph_draft_idle: "초안이 여기에 표시됩니다.",
    send_via: "전송 방법",
    email: "이메일", email_sub: "엽서처럼 도착",
    sms: "문자", sms_sub: "휴대폰으로 도착",
    their_email: "상대 이메일", their_phone: "상대 전화번호",
    deliver: "전송", now: "⚡ 지금", schedule: "⏰ 예약", save_draft: "📦 임시 저장",
    via: "을(를) 통해", right_away: "지금 바로", scheduled: "예약됨",
    pay_or_card: "또는 카드로 결제", card_number: "카드 번호", expiry: "유효기간", cvc: "CVC",
    pay_secure: "🔒 안전한 결제. €1.99 또는 달러 계좌의 경우 ~$2.15을 청구합니다.",
    pay_demo_note: "샌드박스 데모 — 실제 결제는 발생하지 않습니다.",
    back: "뒤로", continue: "계속", send_for: "€1.99에 보내기",
    success_happy: "출발했어요!", success_solemn: "당신의 마음이 향하고 있어요.",
    success_msg_pre: "당신의 메시지를", success_delivered: "전송했습니다", success_scheduled: "예약했습니다",
    success_msg_mid: "수신자:", success_msg_via: "방식:", success_msg_post: "€1.99이 청구되었습니다. 감사합니다.",
    send_another: "또 보내기", view_receipt: "영수증 보기",
    tile1_title: "단일 요금 1유로", tile1_body: "구독도, 추가 요금도 없습니다. 달러 계좌 기준 약 $2.15.",
    tile2_title: "15+ 언어", tile2_body: "받는 사람의 언어로 쓰고 보냅니다. 항상 자동.",
    tile3_title: "톤은 당신이 결정", tile3_body: "Sendly가 쓰거나, 직접 쓰거나, 둘을 섞으세요.",
    tile4_title: "모든 감정을 위해", tile4_body: "결혼식 축사부터 조의까지, Sendly는 춤춰야 할 때와 속삭여야 할 때를 압니다.",
    foot: "정성껏 만든 · Sendly · 우편 요금 전 방향 지불",
    preview_label: "실시간 미리보기 · 상대가 보게 될 모습",
    to: "받는 사람:", body_placeholder: "입력한 내용이 여기에 표시됩니다…",
    occ: { birthday:"생일", wedding:"결혼", newbaby:"출산", graduation:"졸업", newjob:"새 직장", anniversary:"기념일", recovery:"쾌유", holiday:"명절", condolences:"조의" },
    tag: { birthday:"생일 축하해요", wedding:"결혼을 축하합니다", newbaby:"세상에 온 걸 환영해", graduation:"졸업을 축하해요", newjob:"새 직장을 축하해요", anniversary:"기념일을 축하해요", recovery:"빠른 쾌유를 바랍니다", holiday:"즐거운 명절 보내세요", condolences:"삼가 조의를 표합니다" }
  },

  ru: {
    sign_in: "Войти",
    eyebrow: "Настоящие сообщения, отправленные за один евро",
    hero_send_a: "Отправь", hero_happy: "радостное", hero_or: "или", hero_heartfelt: "тёплое", hero_note: "послание", hero_seconds: "за 30 секунд.",
    hero_sub: "Для свадеб, дней рождения, повышений, грустных прощаний и каждого вторника между ними. Мы помогаем написать и доставить на почту или телефон — на 15+ языках.",
    hero_price_line: "Одно сообщение, в любую точку Земли",
    step1_title: "Кому?", step1_sub: "Шаг 1 из 5 · Основное",
    step2_title: "Какой повод?", step2_sub: "Шаг 2 из 5 · Выбери момент",
    step3_title: "Что сказать?", step3_sub: "Шаг 3 из 5 · Ты пишешь, мы помогаем, или вместе",
    step4_title: "Как доставим?", step4_sub: "Шаг 4 из 5 · Email или SMS",
    step5_title: "Последний штрих — €1.99", step5_sub: "Шаг 5 из 5 · Оплатить и отправить",
    field_recipient: "Имя получателя", field_family: "Фамилия", field_your_name: "Твоё имя", field_age: "Их возраст",
    ph_recipient: "напр. Ариа", ph_family: "напр. Иванова", ph_sender: "напр. Сэм", ph_age: "—",
    opt: "необязательно",
    field_occasion: "Выбери повод",
    condolence_note_strong: "Мягче палитра,", condolence_note_rest: " для деликатного момента. Для соболезнований приглушаем краски и тон.",
    field_how_write: "Как напишем?",
    mode_ai: "✨ Sendly напишет", mode_mix: "🤝 Мои слова + Sendly", mode_mine: "✍️ Напишу сам",
    field_your_words: "Твои слова", ph_your_words: "Что ты хочешь им сказать?",
    field_sendly_draft: "Черновик Sendly", generating: "пишется…", regenerate: "🔄 Сгенерировать заново",
    ph_draft_generating: "Пишем что-то тёплое…", ph_draft_idle: "Черновик появится здесь.",
    send_via: "Отправить через",
    email: "Email", email_sub: "Приходит как открытка",
    sms: "SMS", sms_sub: "Прямо на телефон",
    their_email: "Их email", their_phone: "Их телефон",
    deliver: "Доставка", now: "⚡ Сейчас", schedule: "⏰ Запланировать", save_draft: "📦 Сохранить черновик",
    via: "через", right_away: "прямо сейчас", scheduled: "по расписанию",
    pay_or_card: "или картой", card_number: "Номер карты", expiry: "Срок", cvc: "CVC",
    pay_secure: "🔒 Безопасная оплата. Списываем €1.99, или примерно $2.15 для долларовых счетов.",
    pay_demo_note: "Демо-режим — реального списания не будет.",
    back: "Назад", continue: "Дальше", send_for: "Отправить за €1.99",
    success_happy: "Полетело!", success_solemn: "Твоё послание уже в пути.",
    success_msg_pre: "Мы", success_delivered: "доставили", success_scheduled: "запланировали",
    success_msg_mid: "твоё сообщение для", success_msg_via: "через", success_msg_post: "Списано €1.99. Спасибо.",
    send_another: "Отправить ещё", view_receipt: "Посмотреть чек",
    tile1_title: "Один евро ровно", tile1_body: "Без подписок и доплат. ~$2.15 на долларовых счетах.",
    tile2_title: "15+ языков", tile2_body: "Пишем и шлём на языке получателя. Всегда.",
    tile3_title: "Тон выбираешь ты", tile3_body: "Пусть Sendly напишет, напиши сам, или смешай.",
    tile4_title: "Под любое настроение", tile4_body: "От свадебных тостов до соболезнований — Sendly знает, когда танцевать, а когда шептать.",
    foot: "Сделано с заботой · Sendly · почтовый сбор оплачен во все стороны",
    preview_label: "Живой превью · что увидит получатель",
    to: "Кому:", body_placeholder: "Здесь появится твоё сообщение…",
    occ: { birthday:"День рождения", wedding:"Свадьба", newbaby:"Малыш", graduation:"Выпускной", newjob:"Новая работа", anniversary:"Годовщина", recovery:"Выздоровление", holiday:"Праздник", condolences:"Соболезнования" },
    tag: { birthday:"С Днём Рождения", wedding:"Поздравляю со свадьбой", newbaby:"Добро пожаловать, малыш", graduation:"Ты сделал это", newjob:"Поздравляю с новой работой", anniversary:"С годовщиной", recovery:"Скорейшего выздоровления", holiday:"С праздником", condolences:"Искренние соболезнования" }
  },

  tr: {
    sign_in: "Giriş yap",
    eyebrow: "Gerçek mesajlar, sadece bir euroya",
    hero_send_a: "Bir", hero_happy: "neşeli", hero_or: "ya da", hero_heartfelt: "içten", hero_note: "mesaj gönder", hero_seconds: "30 saniyede.",
    hero_sub: "Düğünler, doğum günleri, terfiler, üzgün vedalar ve aradaki her salı için. Yazmana yardım eder, e-postasına ya da telefonuna ulaştırırız — 15+ dilde.",
    hero_price_line: "Bir mesaj, dünyanın her yerine",
    step1_title: "Kime?", step1_sub: "5 adımdan 1. · Temel bilgiler",
    step2_title: "Ne için?", step2_sub: "5 adımdan 2. · Anı seç",
    step3_title: "Ne yazmalı?", step3_sub: "5 adımdan 3. · Sen yaz, biz yardım edelim ya da ikisi birden",
    step4_title: "Nasıl ulaşsın?", step4_sub: "5 adımdan 4. · E-posta veya SMS",
    step5_title: "Son bir şey — €1.99", step5_sub: "5 adımdan 5. · Öde ve gönder",
    field_recipient: "Alıcının adı", field_family: "Soyadı", field_your_name: "Senin adın", field_age: "Yaşı",
    ph_recipient: "ör. Aria", ph_family: "ör. Yılmaz", ph_sender: "ör. Sam", ph_age: "—",
    opt: "isteğe bağlı",
    field_occasion: "Bir vesile seç",
    condolence_note_strong: "Daha yumuşak bir palet,", condolence_note_rest: " daha yumuşak bir an için. Başsağlığında renkleri ve tonu kısarız.",
    field_how_write: "Nasıl yazalım?",
    mode_ai: "✨ Sendly yazsın", mode_mix: "🤝 Benim sözlerim + Sendly", mode_mine: "✍️ Ben yazacağım",
    field_your_words: "Senin sözlerin", ph_your_words: "Onlara ne söylemek istersin?",
    field_sendly_draft: "Sendly taslağı", generating: "yazılıyor…", regenerate: "🔄 Yeniden",
    ph_draft_generating: "Düşünceli bir şeyler yazıyoruz…", ph_draft_idle: "Taslağın burada görünecek.",
    send_via: "Şununla gönder",
    email: "E-posta", email_sub: "Bir kartpostal gibi ulaşır",
    sms: "SMS", sms_sub: "Telefonlarına düşer",
    their_email: "E-postası", their_phone: "Telefon numarası",
    deliver: "Teslimat", now: "⚡ Hemen", schedule: "⏰ Zamanla", save_draft: "📦 Taslak kaydet",
    via: "ile", right_away: "hemen", scheduled: "zamanlandı",
    pay_or_card: "ya da kartla öde", card_number: "Kart numarası", expiry: "Son kullanma", cvc: "CVC",
    pay_secure: "🔒 Güvenli ödeme. €1.99 tahsil ederiz, dolar hesabıysa yaklaşık $2.15.",
    pay_demo_note: "Sandbox demo — gerçek bir tahsilat yapılmaz.",
    back: "Geri", continue: "Devam", send_for: "€1.99'a gönder",
    success_happy: "Yolda!", success_solemn: "Notun yolda.",
    success_msg_pre: "Mesajını", success_delivered: "ilettik", success_scheduled: "zamanladık",
    success_msg_mid: "alıcı:", success_msg_via: "kanal:", success_msg_post: "€1.99 tahsil edildi. Teşekkürler.",
    send_another: "Başka gönder", view_receipt: "Fişi gör",
    tile1_title: "Tek bir euro", tile1_body: "Abonelik yok, ek ücret yok. Dolar hesaplarda yaklaşık $2.15.",
    tile2_title: "15+ dil", tile2_body: "Alıcının dilinde yazar ve göndeririz. Her zaman.",
    tile3_title: "Sesi sen seç", tile3_body: "Bırak Sendly yazsın, sen yaz ya da ikisini karıştır.",
    tile4_title: "Her ruh hali için", tile4_body: "Düğün konuşmasından başsağlığına — Sendly ne zaman dans edileceğini, ne zaman fısıldanacağını bilir.",
    foot: "Özenle yapıldı · Sendly · her yönde posta ücreti ödenmiştir",
    preview_label: "Canlı önizleme · onlar ne görecek",
    to: "Kime:", body_placeholder: "Mesajın yazdıkça burada görünecek…",
    occ: { birthday:"Doğum günü", wedding:"Düğün", newbaby:"Yeni bebek", graduation:"Mezuniyet", newjob:"Yeni iş", anniversary:"Yıldönümü", recovery:"Geçmiş olsun", holiday:"Bayram", condolences:"Başsağlığı" },
    tag: { birthday:"Doğum günün kutlu olsun", wedding:"Evliliğinizi kutlarım", newbaby:"Aramıza hoş geldin", graduation:"Tebrikler mezunum", newjob:"Yeni işin hayırlı olsun", anniversary:"Yıldönümün kutlu olsun", recovery:"Geçmiş olsun", holiday:"Bayramın kutlu olsun", condolences:"Başın sağolsun" }
  },

  nl: {
    sign_in: "Inloggen",
    eyebrow: "Echte berichten, verstuurd voor één euro",
    hero_send_a: "Stuur een", hero_happy: "vrolijk", hero_or: "of", hero_heartfelt: "warm", hero_note: "berichtje", hero_seconds: "in 30 seconden.",
    hero_sub: "Voor bruiloften, verjaardagen, promoties, verdrietige afscheiden, en elke dinsdag daartussenin. Wij helpen schrijven en bezorgen het in hun inbox of telefoon — in 15+ talen.",
    hero_price_line: "Eén bericht, overal ter wereld",
    step1_title: "Voor wie?", step1_sub: "Stap 1 van 5 · De basis",
    step2_title: "Wat is de aanleiding?", step2_sub: "Stap 2 van 5 · Kies een moment",
    step3_title: "Wat moet erin staan?", step3_sub: "Stap 3 van 5 · Jij schrijft, wij helpen, of allebei",
    step4_title: "Hoe komt het aan?", step4_sub: "Stap 4 van 5 · Mail of sms",
    step5_title: "Nog één ding — €1.99", step5_sub: "Stap 5 van 5 · Betalen & versturen",
    field_recipient: "Voornaam ontvanger", field_family: "Achternaam", field_your_name: "Jouw naam", field_age: "Hun leeftijd",
    ph_recipient: "bv. Aria", ph_family: "bv. Jansen", ph_sender: "bv. Sam", ph_age: "—",
    opt: "optioneel",
    field_occasion: "Kies een gelegenheid",
    condolence_note_strong: "Een zachter palet,", condolence_note_rest: " voor een zachter moment. Bij condoleances dempen we de kleuren en toon.",
    field_how_write: "Hoe schrijven we het?",
    mode_ai: "✨ Sendly schrijft", mode_mix: "🤝 Mijn woorden + Sendly", mode_mine: "✍️ Ik schrijf het",
    field_your_words: "Jouw woorden", ph_your_words: "Wat wil je dat ze weten?",
    field_sendly_draft: "Sendly's concept", generating: "bezig…", regenerate: "🔄 Opnieuw",
    ph_draft_generating: "We schrijven iets liefs…", ph_draft_idle: "Je concept verschijnt hier.",
    send_via: "Versturen via",
    email: "E-mail", email_sub: "Komt aan als een ansicht",
    sms: "Sms", sms_sub: "Belandt op hun telefoon",
    their_email: "Hun e-mail", their_phone: "Hun telefoonnummer",
    deliver: "Bezorgen", now: "⚡ Direct", schedule: "⏰ Plannen", save_draft: "📦 Concept opslaan",
    via: "via", right_away: "direct", scheduled: "gepland",
    pay_or_card: "of betaal met kaart", card_number: "Kaartnummer", expiry: "Vervaldatum", cvc: "CVC",
    pay_secure: "🔒 Veilige betaling. Wij rekenen €1.99, of ongeveer $2.15 bij een dollarrekening.",
    pay_demo_note: "Sandbox-demo — er wordt niet echt afgeschreven.",
    back: "Terug", continue: "Verder", send_for: "Verstuur voor €1.99",
    success_happy: "Onderweg!", success_solemn: "Je bericht is onderweg.",
    success_msg_pre: "We hebben je bericht", success_delivered: "bezorgd", success_scheduled: "gepland",
    success_msg_mid: "aan", success_msg_via: "via", success_msg_post: "€1.99 in rekening gebracht. Dank je.",
    send_another: "Stuur er nog een", view_receipt: "Bon bekijken",
    tile1_title: "Eén vaste euro", tile1_body: "Geen abonnement, geen extra's. ~$2.15 bij dollarrekeningen.",
    tile2_title: "15+ talen", tile2_body: "Wij schrijven en versturen in de taal van de ontvanger. Altijd.",
    tile3_title: "Jij bepaalt de toon", tile3_body: "Laat Sendly schrijven, schrijf zelf, of meng beide.",
    tile4_title: "Voor elke stemming", tile4_body: "Van trouwspeeches tot condoleances — Sendly weet wanneer te dansen en wanneer te fluisteren.",
    foot: "Met zorg gemaakt · Sendly · porto betaald in alle richtingen",
    preview_label: "Live voorbeeld · wat zij gaan zien",
    to: "Aan:", body_placeholder: "Je bericht verschijnt hier…",
    occ: { birthday:"Verjaardag", wedding:"Bruiloft", newbaby:"Geboorte", graduation:"Diploma", newjob:"Nieuwe baan", anniversary:"Jubileum", recovery:"Beterschap", holiday:"Feestdagen", condolences:"Condoleances" },
    tag: { birthday:"Gefeliciteerd met je verjaardag", wedding:"Gefeliciteerd met jullie bruiloft", newbaby:"Welkom kleintje", graduation:"Je hebt het geflikt", newjob:"Gefeliciteerd met je nieuwe baan", anniversary:"Gefeliciteerd met jullie jubileum", recovery:"Beterschap", holiday:"Fijne feestdagen", condolences:"Gecondoleerd" }
  },

  pl: {
    sign_in: "Zaloguj",
    eyebrow: "Prawdziwe wiadomości, wysyłane za jedno euro",
    hero_send_a: "Wyślij", hero_happy: "radosną", hero_or: "lub", hero_heartfelt: "ciepłą", hero_note: "wiadomość", hero_seconds: "w 30 sekund.",
    hero_sub: "Na śluby, urodziny, awanse, smutne pożegnania i każdy wtorek pomiędzy. Pomagamy ją napisać i dostarczamy na e-mail lub telefon — w 15+ językach.",
    hero_price_line: "Jedna wiadomość, w każde miejsce na Ziemi",
    step1_title: "Dla kogo?", step1_sub: "Krok 1 z 5 · Podstawy",
    step2_title: "Z jakiej okazji?", step2_sub: "Krok 2 z 5 · Wybierz moment",
    step3_title: "Co napisać?", step3_sub: "Krok 3 z 5 · Piszesz Ty, pomagamy my, albo razem",
    step4_title: "Jak ją dostaną?", step4_sub: "Krok 4 z 5 · E-mail czy SMS",
    step5_title: "Ostatnia rzecz — €1.99", step5_sub: "Krok 5 z 5 · Zapłać i wyślij",
    field_recipient: "Imię odbiorcy", field_family: "Nazwisko", field_your_name: "Twoje imię", field_age: "Wiek",
    ph_recipient: "np. Aria", ph_family: "np. Kowalska", ph_sender: "np. Sam", ph_age: "—",
    opt: "opcjonalne",
    field_occasion: "Wybierz okazję",
    condolence_note_strong: "Łagodniejsza paleta,", condolence_note_rest: " na łagodniejszą chwilę. Przy kondolencjach ściszamy kolory i ton.",
    field_how_write: "Jak to napiszemy?",
    mode_ai: "✨ Sendly pisze", mode_mix: "🤝 Moje słowa + Sendly", mode_mine: "✍️ Piszę sam(a)",
    field_your_words: "Twoje słowa", ph_your_words: "Co chcesz im powiedzieć?",
    field_sendly_draft: "Szkic Sendly", generating: "tworzenie…", regenerate: "🔄 Wygeneruj ponownie",
    ph_draft_generating: "Piszemy coś z sercem…", ph_draft_idle: "Twój szkic pojawi się tutaj.",
    send_via: "Wyślij przez",
    email: "E-mail", email_sub: "Dociera jak pocztówka",
    sms: "SMS", sms_sub: "Ląduje na ich telefonie",
    their_email: "Ich e-mail", their_phone: "Ich numer telefonu",
    deliver: "Doręczenie", now: "⚡ Teraz", schedule: "⏰ Zaplanuj", save_draft: "📦 Zapisz szkic",
    via: "przez", right_away: "od razu", scheduled: "zaplanowane",
    pay_or_card: "albo zapłać kartą", card_number: "Numer karty", expiry: "Data ważności", cvc: "CVC",
    pay_secure: "🔒 Bezpieczna płatność. Pobieramy €1.99, lub ok. $2.15 dla kont dolarowych.",
    pay_demo_note: "Tryb sandbox — żadne pieniądze nie zostaną pobrane.",
    back: "Wstecz", continue: "Dalej", send_for: "Wyślij za €1.99",
    success_happy: "Poleciała!", success_solemn: "Twoja wiadomość jest w drodze.",
    success_msg_pre: "Twoja wiadomość została", success_delivered: "dostarczona", success_scheduled: "zaplanowana",
    success_msg_mid: "do", success_msg_via: "przez", success_msg_post: "Pobrano €1.99. Dziękujemy.",
    send_another: "Wyślij kolejną", view_receipt: "Pokaż paragon",
    tile1_title: "Jedno euro i tyle", tile1_body: "Bez subskrypcji, bez dopłat. ~$2.15 dla kont dolarowych.",
    tile2_title: "Ponad 15 języków", tile2_body: "Piszemy i wysyłamy w języku odbiorcy. Zawsze.",
    tile3_title: "Ty wybierasz ton", tile3_body: "Pozwól Sendly pisać, napisz sam(a), albo połącz oba.",
    tile4_title: "Na każdy nastrój", tile4_body: "Od weselnych przemów po kondolencje — Sendly wie kiedy tańczyć, a kiedy szeptać.",
    foot: "Tworzone z troską · Sendly · opłata pocztowa wniesiona we wszystkich kierunkach",
    preview_label: "Podgląd na żywo · co zobaczą",
    to: "Do:", body_placeholder: "Twoja wiadomość pojawi się tutaj…",
    occ: { birthday:"Urodziny", wedding:"Ślub", newbaby:"Narodziny", graduation:"Ukończenie", newjob:"Nowa praca", anniversary:"Rocznica", recovery:"Powrót do zdrowia", holiday:"Święta", condolences:"Kondolencje" },
    tag: { birthday:"Wszystkiego najlepszego", wedding:"Gratulacje z okazji ślubu", newbaby:"Witaj na świecie", graduation:"Udało Ci się", newjob:"Powodzenia w nowej pracy", anniversary:"Szczęśliwej rocznicy", recovery:"Szybkiego powrotu do zdrowia", holiday:"Wesołych świąt", condolences:"Najszczersze kondolencje" }
  }
};

// 15 languages — list updated
const LANGUAGES_15 = [
  { code: "en", label: "English",    flag: "🇬🇧", dir: "ltr" },
  { code: "es", label: "Español",    flag: "🇪🇸", dir: "ltr" },
  { code: "fr", label: "Français",   flag: "🇫🇷", dir: "ltr" },
  { code: "de", label: "Deutsch",    flag: "🇩🇪", dir: "ltr" },
  { code: "it", label: "Italiano",   flag: "🇮🇹", dir: "ltr" },
  { code: "pt", label: "Português",  flag: "🇵🇹", dir: "ltr" },
  { code: "ar", label: "العربية",     flag: "🇸🇦", dir: "rtl" },
  { code: "zh", label: "中文",        flag: "🇨🇳", dir: "ltr" },
  { code: "hi", label: "हिन्दी",      flag: "🇮🇳", dir: "ltr" },
  { code: "ja", label: "日本語",      flag: "🇯🇵", dir: "ltr" },
  { code: "ko", label: "한국어",       flag: "🇰🇷", dir: "ltr" },
  { code: "ru", label: "Русский",    flag: "🇷🇺", dir: "ltr" },
  { code: "tr", label: "Türkçe",     flag: "🇹🇷", dir: "ltr" },
  { code: "nl", label: "Nederlands", flag: "🇳🇱", dir: "ltr" },
  { code: "pl", label: "Polski",     flag: "🇵🇱", dir: "ltr" },
];

function makeT(langCode) {
  const dict = TRANSLATIONS[langCode] || TRANSLATIONS.en;
  return function t(key) {
    // dotted key support: t('occ.birthday')
    if (key.includes(".")) {
      const [a, b] = key.split(".");
      return (dict[a] && dict[a][b]) || (TRANSLATIONS.en[a] && TRANSLATIONS.en[a][b]) || key;
    }
    return dict[key] || TRANSLATIONS.en[key] || key;
  };
}

Object.assign(window, { TRANSLATIONS, LANGUAGES_15, makeT });
