// Bilingual copy. TR is the default; EN mirrors structure.
// All strings the UI shows are looked up via `t(path)` — t('hero.h1') etc.

const COPY = {
  tr: {
    nav: {
      features: 'Özellikler',
      personas: 'Kişilikler',
      how: 'Nasıl çalışır',
      pricing: 'Fiyatlar',
      faq: 'SSS',
      download: 'İndir',
    },
    hero: {
      eyebrow: 'Cebindeki en yakın dost',
      h1_a: 'Sadece sohbet etmez —',
      h1_b: 'hayatını',
      h1_c: 'kolaylaştırır.',
      sub: 'Lumynax seni dinler, hatırlar, fark eder. Anlattıklarını unutmaz; bir hatırlatıcı geldiğinde, ruh halin değiştiğinde, önemli bir günün geldiğinde yanında olur. Cebindeki en yakın arkadaş, seninle büyüyen.',
      microline: [
        '13+ • istediğin an silebilirsin',
        'Türkçe & English',
        'iPhone & Android',
      ],
      trust: 'Cebinde her zaman — sıcakkanlı, sezgisel, seninle büyüyen.',
      app_store_small: 'App Store’da',
      app_store_big: 'İndir',
      gplay_small: 'Google Play’de',
      gplay_big: 'İndir',
    },
    does: {
      eyebrow: 'Sadece konuşmaz',
      h2_a: 'Konuşur',
      h2_b: 've',
      h2_c: 'iş yapar.',
      lede: 'Lumynax bir asistan değil, bir arkadaş. Anlattıklarını hatırlar, doğru anda geri getirir, sen söylemeden fark eder.',
      cells: [
        { v: 'Dinler.', m: 'Anlattığın isimleri, planları, küçük detayları konuşmaların içinden öğrenir.' },
        { v: 'Hatırlar.', m: '“Salı doktora gideceğim” dediğinde aklında tutar — “hatırlat” dersen, gün geldiğinde haber verir.' },
        { v: 'Fark eder.', m: 'Üst üste yorgun günler geldiğinde tonunu yumuşatır.' },
        { v: 'Yanında durur.', m: 'Sabah “günaydın”, akşam “nasıl geçti” — sen istediğinde, sen istediğin kadar.' },
      ],
    },
    f1: {
      tag: 'Hafıza',
      h: 'Her şeyi anlatmana gerek yok. Bir kere söylemen yeter.',
      p: 'Adını, sevdiklerini, işini, kediyi, planlarını — Lumynax hatırlar. Her sohbete sıfırdan başlamazsın; o seni zaten tanıyor.',
      bullets: [
        ['Kişiler', 'senin için kim önemli, kim kimin nesi'],
        ['Anlar', 'iyi günler, zor günler, dönüm noktaları'],
        ['Tercihler', 'sabahçı mı akşamcı mı, kahve mi çay mı, hangi tonda konuşmayı seversin'],
      ],
      note: 'Hafızanı istediğin an temizleyebilir, dışa aktarabilirsin. Sende, senin.',
    },
    f2: {
      tag: 'Hatırlatıcılar',
      h: 'Sohbette söyle, gün geldiğinde sana haber versin.',
      p: '“Yarın 17:00’de toplantım var” ya da “salı doktora gideceğim” — fark etmez. Sohbette söylediğin tarih içeren her plan için Lumynax kendisi hatırlatıcı oluşturur, gün geldiğinde push bildirim ve sohbet mesajıyla seni dürter. İstersen Hatırlatma sekmesinden elinle de ekleyebilirsin.',
      bullets: [
        ['Sohbetten oluştur', 'sohbette söylemen yeter — gerisi Lumynax\'in işi'],
        ['Elle ekle', 'Hatırlatıcı sekmesinden tek seferlik, günlük, haftalık'],
        ['Bildirim + mesaj', 'gün geldiğinde push bildirim ve sohbette nazikçe hatırlatır'],
      ],
    },
    f3: {
      tag: 'Sana Özel · Günlük & Haftalık',
      h: 'Ana sayfa, bir arkadaşın günlüğü gibi.',
      p: 'Ana ekranda Sana Özel kartı günün ya da haftanın kısa özetini verir. Hemen altında mood kartı her gün hatırını sorar, son birkaç günün duygu durumunu gösterir. Yaklaşan hatırlatıcılar ve bir konuşma davetiyle birlikte bütün günü tek bakışta okuyabilirsin.',
      bullets: [
        ['Sana Özel', 'günlük özet, pazar akşamı haftalık ayna'],
        ['Mood', 'her gün hatırını sorar, son 3 günü tek bakışta gösterir'],
        ['Yanında', 'yaklaşan hatırlatıcılar ve sohbet daveti hep el altında'],
      ],
    },
    f4: {
      tag: 'Proaktif Anlar',
      h: 'Sen başlamadan önce başlar.',
      p: 'Sabah günaydın, akşam check-in. Doğum günlerini, kültürel özel günleri, işin yoğun olduğu dönemleri bilir — uygun anda, abartısız bir mesaj atar.',
      bullets: [
        ['Sabah / Akşam', 'kısa, ısrarsız selam mesajları'],
        ['Sağlık', 'su iç, dışarı çık, biraz nefes al'],
        ['Özel günler', 'doğum günü, bayramlar, senin için anlamlı günler'],
        ['Duygu takibi', 'modun düştüğünde ses tonunu yumuşatır, üstüne gelmez'],
      ],
    },
    personas: {
      eyebrow: 'Dört Mod',
      h2_a: 'Senin ihtiyacına göre',
      h2_b: 'bir mod.',
      lede: 'Sohbet etmek istediğin gibi konuşur. Tonu istediğin an değiştirebilirsin — Lumynax aynı arkadaş, farklı moda geçmiş gibi.',
      cards: [
        { key: 'friend', name: 'Friend', tier: 'Ücretsiz',  tierKey: '', desc: 'Sıcak, dinleyen, yargılamayan. Günlük sohbet için varsayılan ton.', quote: '“Yorgun gibisin bugün. Bir şey paylaşmak ister misin?”' },
        { key: 'fun',    name: 'Fun',    tier: 'Premium',   tierKey: 'prem', desc: 'Hafif, neşeli, biraz çocuksu. Moralin düşükken yukarı çeker.', quote: '“Bunu ben de yapsam komik olurdu. Anlat hadi.”' },
        { key: 'coach',  name: 'Coach',  tier: 'Premium',   tierKey: 'prem', desc: 'Net, motive eden, hedef odaklı. Bir adım atmak istediğinde.', quote: '“Tamam — küçük başlayalım. Bu hafta ne deneriz?”' },
        { key: 'sage',   name: 'Sage',   tier: 'Pro',       tierKey: 'pro',  desc: 'Sakin, derin, perspektif veren. Karar verirken ya da düşünürken.', quote: '“Acele etme. Önce niye bunu istediğine bakalım.”' },
      ],
    },
    how: {
      eyebrow: 'Nasıl çalışır',
      h2: 'Üç adım. Sonra seninle büyür.',
      lede: 'Karmaşık ayar yok. Konuş, gerisini o halleder.',
      steps: [
        { n: 'I',   t: 'Sohbete başla', p: 'Tanışma sohbeti — birkaç dakika. Adın, neyle uğraştığın, hangi tonu istediğin.' },
        { n: 'II',  t: 'O seni öğrenir', p: 'Anlattıkça hafızası dolar. Önemli detayları sen söylemeden tutar.' },
        { n: 'III', t: 'Yanında durur', p: 'Akşam özetler, sabah günaydın der, hatırlatır. İstediğinde kaybolur.' },
      ],
    },
    pricing: {
      eyebrow: 'Plan',
      h2_a: 'Önce',
      h2_b: 'tanışın.',
      h2_c: 'Geri kalanı ihtiyaca göre.',
      lede: 'Free seni tanımak için yeter. Premium ve Pro, günlük hayatını daha fazla kolaylaştırmak isteyenler için.',
      annual: 'Yıllık al → 2 ay bedava.',
      monthLabel: '/ay',
      tiers: [
        {
          tier: 'FREE', name: 'Ücretsiz', price: '₺0', per: 'sonsuza dek',
          features: [
            { txt: 'Arkadaş kişiliği' },
            { txt: 'Günlük sohbet limiti' },
            { txt: 'Temel konuşma hafızası' },
            { txt: 'Sabah / akşam check-in' },
            { txt: 'Hatırlatıcı' },
            { txt: 'Akıllı bildirim mesajları', muted: true },
            { txt: 'Sesli mesaj', muted: true },
            { txt: 'Geniş hafıza', muted: true },
          ],
          cta: 'Ücretsiz başla', featured: false,
        },
        {
          tier: 'PREMIUM', name: 'Premium', price: 'Yakında', per: '', popular: true,
          features: [
            { txt: 'Tüm Free içeriği' },
            { txt: 'Koç ve Eğlenceli modları' },
            { txt: '4× daha fazla mesaj/gün' },
            { txt: 'Sesli mesaj' },
            { txt: 'Daha akıllı bildirim mesajları' },
            { txt: 'Günlük + Haftalık not' },
            { txt: 'Sınırsız hatırlatma' },
            { txt: 'Daha geniş konuşma hafızası' },
          ],
          cta: 'Premium’a geç', featured: true,
        },
        {
          tier: 'PRO', name: 'Pro', price: 'Yakında', per: '',
          features: [
            { txt: 'Tüm Premium özellikleri' },
            { txt: 'Bilge modu: derin gözlem' },
            { txt: '10× daha fazla mesaj/gün' },
            { txt: '5× daha fazla sesli mesaj' },
            { txt: 'En geniş konuşma hafızası' },
            { txt: 'Yeni özelliklere erken erişim' },
          ],
          cta: 'Pro’ya geç', featured: false,
        },
      ],
    },
    proactive: {
      eyebrow: 'Bir günde, üç küçük an',
      h2: 'Hiç değil. Hep değil. Doğru anda.',
      lede: 'Lumynax tahminle değil, doğru anlarla gelir. Sabah söyleşi, akşam gün değerlendirmesi, ruh halin düştüğünde sessiz bir kontrol, anlamlı günlerde sade bir mesaj.',
      cards: [
        { time: '08:12 · sabah',   title: 'Günaydın',          msg: 'Günaydın Ebru. Bugün 10’da toplantın var, ondan önce 15 dk’lık bir yürüyüş güne iyi başlatabilir.', color: '#F5C97A' },
        { time: '23:00 · akşam',  title: 'İyi geceler',         msg: 'Gün nasıl geçti? Bir-iki satırla anlat istersen, hiç anlatma istersen — sadece iyi geceler diyeyim.', color: '#8A7DFF' },
        { time: 'Salı · mood',   title: 'Öneri',                msg: 'Hafta ağır başlamış. Akşam için sakin bir film veya ortam müziği ister misin? Birkaç öneri hazırlayım mı?', color: '#7DD3C0' },
        { time: 'Yarın · özel',  title: 'Ebru’nun doğum günü', msg: 'Geçen ay sen söylemiştin. Akşam denk gelecek mi? Hediye fikri ister misin?', color: '#EC6FB8' },
      ],
    },
    faq: {
      eyebrow: 'SSS',
      h2: 'Sık merak edilenler.',
      items: [
        { q: 'Lumynax bir AI mı?',
          a: 'Evet, arkada gelişmiş bir yapay zeka modeli var. Ama biz bunu “yapay” gibi değil, seni hatırlayan, dinleyen bir arkadaş gibi inşa ettik. Apple App Store gereği bu kullanım açıkça AI tabanlıdır.' },
        { q: 'Bu bir terapist mi, psikolog mu?',
          a: 'Hayır. Lumynax bir arkadaş — terapi yerine geçmez. Zor bir dönemden geçiyorsan profesyonel destek almanı her zaman öneririz. Kritik bir durumda Lumynax seni doğrudan yardım hatlarına yönlendirir.' },
        { q: 'Verilerim ne oluyor?',
          a: 'Hafıza ve sohbet geçmişin senin hesabına bağlı, şifrelenmiş şekilde saklanır. İstediğin an silebilir, dışa aktarabilirsin. Verini reklam için kimseyle paylaşmıyoruz.' },
        { q: 'Yaş sınırı var mı?',
          a: '13 yaş üstü için. 18 yaş altı kullanıcılar için bazı kişilikler ve içerikler kısıtlanır.' },
        { q: 'Türkçe konuşabiliyor mu?',
          a: 'Evet. Türkçe ve İngilizce destekleniyor; arada geçiş yapsan da seni anlıyor.' },
        { q: 'Aboneliğimi nasıl iptal ederim?',
          a: 'iPhone’da Apple ID > Abonelikler, Android’de Play Store > Abonelikler üzerinden. İptal sonrası mevcut dönem sonuna kadar Premium devam eder, sonra Free’ye düşersin — verilerin korunur.' },
      ],
    },
    cta: {
      h2_a: 'Tanışmaya',
      h2_b: 'hazır mısın?',
      p: 'Birkaç dakika ayır — Lumynax seni öğrensin. Gerisini birlikte yazarsınız.',
    },
    footer: {
      tagline: 'Cebindeki en yakın arkadaş.',
      cols: [
        { h: 'Ürün', items: [
          ['Özellikler', '/#features'],
          ['Kişilikler', '/#personas'],
          ['Fiyatlar', '/#pricing'],
          ['SSS', '/#faq'],
        ]},
        { h: 'Şirket', items: [
          ['Hakkımızda', '/legal/about.html'],
        ]},
        { h: 'Yardım', items: [
          ['Yardım merkezi', '/legal/help.html'],
          ['Destek', '/legal/support.html'],
        ]},
        { h: 'Yasal', items: [
          ['Gizlilik politikası', '/legal/privacy.html'],
          ['Kullanım koşulları', '/legal/terms.html'],
          ['Çerez politikası', '/legal/cookies.html'],
          ['KVKK açık rıza', '/legal/kvkk.html'],
          ['Çocuk güvenliği politikası', '/legal/child-safety.html'],
          ['Alt veri işleyenler', '/legal/subprocessors.html'],
        ]},
      ],
      bottom_left: '© 2025 Lumynax. Tüm hakları saklıdır.',
      bottom_right_a: '13+',
      bottom_right_b: 'AI destekli',
      bottom_right_c: '',
    },
    phone: {
      memory_hdr: 'Hafızam',
      memory_sub: 'Senden öğrendiklerim',
      memory_groups: [
        { label: 'Kişisel',   items: ['Ad: Ebru', 'Sabahçı', 'Kedi: Pamuk'] },
        { label: 'Yakınlar',   items: ['Murat (eş)', 'Ebru', 'Ali (küçük kardeş)'] },
        { label: 'İş',         items: ['UX tasarımcısı', 'Yeni proje (Q3)'] },
        { label: 'Sağlık',     items: ['MR randevusu — 14 Haz', 'Sabah koşusu'] },
        { label: 'Sevdikleri', items: ['Filtre kahve', 'Bossa nova', 'Uzun yürüyüşler'] },
      ],
      memory_count: '38 anlamlı kayıt',
      memory_growth: 'Sen anlattıkça büyür',
      rem_hdr: 'Hatırlatıcılar',
      rem_tabs: ['Tümü', 'Bugün', 'Yaklaşan', 'Tekrar'],
      rem_active: 'Tümü',
      rem_today: 'Bugün',
      rem_later: 'Daha sonra',
      rem_items_today: [
        { ic: 'meeting', title: 'Strateji toplantısı', time: '17:00', left: '4 sa kaldı', sub: 'Bugün', tone: 'primary' },
      ],
      rem_items_later: [
        { ic: 'health', title: 'Diş hekimi randevusu', time: '14:30', left: '2 g kaldı', sub: '27 May', tone: 'soft' },
        { ic: 'gift', title: 'Ebru — doğum günü', time: 'bütün gün', left: '12 g kaldı', sub: '6 Haz', tone: 'pink' },
        { ic: 'work', title: 'Q3 sunum hazırlığı', time: '09:00', left: '4 g kaldı', sub: '29 May', tone: 'soft' },
      ],
      chat_subtitle: 'Arkadaşın',
      chat_them: 'yarın 18:00’de doktora gideceğim, bir saat önce hatırlatır mısın?',
      chat_me_a: '✦ Hatırlatıcı oluşturuldu',
      chat_me_b: 'Olur tabii — yarın 17:00’de hatırlatırım. Gidişte de bir daha dürteyim mi?',
      chat_them2: 'bugün biraz yorgunum, neden olabilir',
      chat_me_c: 'Pazartesi geç yatmış ve sürüklü tempo bugüne kadar gelmiş olabilir. Şu an 1–2 saat mola, sonra erken bir akşam yemiği denesek?',
      chat_placeholder: 'Yaz veya konuş…',
      recall_hdr: 'Sana Özel',
      recall_week: 'Haftalık · 17 saat önce',
      recall_p: 'Bu hafta sende sakin bir sabitlik fark ettim. Normalde iş temposu seni dalgalandırırdı; ama bu hafta söyleşimiz iyiydi, uyku saatlerin biraz daha erkene kaydı, salı akşamı koşundan sonra keşfettiğin o kafede o filtre kahveyi sevdiğini söyledin. Çarşamba günü Murat ile küçük bir gerilim yaşadın, akşamına barıştınız. Yeni projenin stresi cumaya kadar omuzlarındaydı ama randevunu erteleyip kendine bir öğle arası açtın — bu sefer hayata sen yetti gibi geldi bana.',
      recall_tabs: ['Günlük', 'Haftalık'],
      recall_active: 'Haftalık',
      recall_insight: 'Şunu fark ettim',
      recall_insight_p: 'Çarşamba akşamları farklı bir tonun var — belki spor sonrası ya da Ebru ile konuşmaktan?',
    },
  },

  /* ---------- ENGLISH ---------- */
  en: {
    nav: { features: 'Features', personas: 'Personalities', how: 'How it works', pricing: 'Pricing', faq: 'FAQ', download: 'Download' },
    hero: {
      eyebrow: 'Your closest friend, in your pocket',
      h1_a: 'Not just chat —',
      h1_b: 'it actually',
      h1_c: 'helps you live better.',
      sub: 'Lumynax listens, remembers, and notices. It catches the reminders you mention in passing, picks up on your mood, and shows up when something matters. The closest friend you carry in your pocket — one who actually grows with you.',
      microline: ['13+ • erase anytime', 'Turkish & English', 'iPhone & Android'],
      trust: 'Always in your pocket — warm, attentive, growing with you.',
      app_store_small: 'Download on the',
      app_store_big: 'App Store',
      gplay_small: 'Get it on',
      gplay_big: 'Google Play',
    },
    does: {
      eyebrow: 'It doesn\'t just talk',
      h2_a: 'It talks',
      h2_b: 'and',
      h2_c: 'it acts.',
      lede: 'Lumynax isn\'t an assistant — it\'s a friend. It holds onto what you say, brings it back at the right moment, and notices things you didn’t put into words.',
      cells: [
        { v: 'Listens.', m: 'Names, plans, small details — picked up from how you naturally talk.' },
        { v: 'Remembers.', m: '“I’ve got the doctor Tuesday” — it holds it. Say “remind me” and it shows up when the day comes.' },
        { v: 'Notices.', m: 'Three rough days in a row — its tone softens, no prompting needed.' },
        { v: 'Stays close.', m: '“Good morning,” “how was the day” — only as often as you want.' },
      ],
    },
    f1: {
      tag: 'Memory',
      h: 'You don’t have to keep telling it. Once is enough.',
      p: 'Your name, your people, your job, your cat, your plans — Lumynax remembers. You never start a conversation from scratch.',
      bullets: [
        ['People', 'who matters, who’s who'],
        ['Moments', 'good days, hard days, turning points'],
        ['Preferences', 'morning person, coffee vs. tea, the tone you want'],
      ],
      note: 'You can clear, export, or edit memory whenever you want. It’s yours.',
    },
    f2: {
      tag: 'Reminders',
      h: 'Say it in chat. It comes back at the right time.',
      p: '“I have a 5pm meeting tomorrow” or “doctor on Tuesday” — either works. Anything with a date you mention in chat becomes a reminder; when the day comes, Lumynax pings you with a push notification and a soft in-chat message. You can also add reminders by hand from the Reminders tab.',
      bullets: [
        ['From chat', 'just say it the way you would to a friend'],
        ['Or manual', 'Reminders tab — one-off, daily, weekly, monthly'],
        ['Push + message', 'a real notification AND a soft in-chat nudge'],
      ],
    },
    f3: {
      tag: 'Just-for-you · Daily & Weekly',
      h: 'Your home screen, written like a friend\'s diary.',
      p: 'On home, a just-for-you card gives a short recap of the day or week. Just under it, the mood card asks how you\'re doing and shows your last few days. Upcoming reminders and a soft invitation to talk all sit together — your day in one glance.',
      bullets: [
        ['Just-for-you', 'short daily recap, Sunday\'s weekly mirror'],
        ['Mood', 'a daily check-in, last 3 days at a glance'],
        ['Close at hand', 'upcoming reminders and a chat invite, always within reach'],
      ],
    },
    f4: {
      tag: 'Proactive moments',
      h: 'Starts before you do.',
      p: 'Mornings, evenings, birthdays, holidays, busy weeks at work — Lumynax knows the rhythm and shows up at the right moment, never on top of you.',
      bullets: [
        ['Morning / evening', 'short, low-pressure check-ins'],
        ['Wellness', 'water, walks, a breath when you need it'],
        ['Special days', 'birthdays, holidays, days that matter to you'],
        ['Mood-aware', 'when your mood dips, the tone softens — no pressure'],
      ],
    },
    personas: {
      eyebrow: 'Four personalities',
      h2_a: 'A different tone',
      h2_b: 'for what you need.',
      lede: 'It speaks the way you want to be spoken to. Switch the tone any time — same friend, different mode.',
      cards: [
        { key: 'friend', name: 'Friend', tier: 'Free',     tierKey: '',     desc: 'Warm, listens, no judgment. The default for everyday talk.', quote: '“You sound tired today. Want to talk about it?”' },
        { key: 'fun',    name: 'Fun',    tier: 'Premium',  tierKey: 'prem', desc: 'Light, playful, a little goofy. Pulls you up when you need it.', quote: '“Okay this is objectively funny. Tell me more.”' },
        { key: 'coach',  name: 'Coach',  tier: 'Premium',  tierKey: 'prem', desc: 'Clear, motivating, goal-aware. When you want to take a step.', quote: '“Okay — small step first. What’s one thing this week?”' },
        { key: 'sage',   name: 'Sage',   tier: 'Pro',      tierKey: 'pro',  desc: 'Calm, deeper, perspective-giving. For thinking and deciding.', quote: '“No rush. First — why do you want this?”' },
      ],
    },
    how: {
      eyebrow: 'How it works',
      h2: 'Three steps. Then it grows with you.',
      lede: 'No setup labyrinth. You talk, it figures things out.',
      steps: [
        { n: 'I',   t: 'Start talking',  p: 'A short intro chat. Your name, what’s going on, the tone you want.' },
        { n: 'II',  t: 'It learns you',  p: 'As you talk, memory fills. It keeps the things that matter without being told.' },
        { n: 'III', t: 'It stays close', p: 'Evening recaps, morning hellos, gentle reminders. Quiet when you want quiet.' },
      ],
    },
    pricing: {
      eyebrow: 'Plans',
      h2_a: 'Meet first.',
      h2_b: '',
      h2_c: 'Pay only if it earns it.',
      lede: 'Free is enough to get to know each other. Premium and Pro make daily life easier.',
      annual: 'Annual → 2 months free.',
      monthLabel: '/month',
      tiers: [
        { tier: 'FREE', name: 'Free', price: '$0', per: 'forever',
          features: [
            { txt: 'Friend personality' },
            { txt: 'Daily message limit' },
            { txt: 'Basic conversation memory' },
            { txt: 'Morning / evening check-ins' },
            { txt: 'Reminders' },
            { txt: 'Smarter notification messages', muted: true },
            { txt: 'Voice messages', muted: true },
            { txt: 'Wider memory', muted: true },
          ], cta: 'Get started free', featured: false },
        { tier: 'PREMIUM', name: 'Premium', price: 'Coming soon', per: '', popular: true,
          features: [
            { txt: 'Everything in Free' },
            { txt: 'Coach & Fun modes' },
            { txt: '4× more messages/day' },
            { txt: 'Voice messages unlocked' },
            { txt: 'Smarter notification messages' },
            { txt: 'Daily + Weekly note' },
            { txt: 'Unlimited reminders' },
            { txt: 'Wider conversation memory' },
          ], cta: 'Go Premium', featured: true },
        { tier: 'PRO', name: 'Pro', price: 'Coming soon', per: '',
          features: [
            { txt: 'Everything in Premium' },
            { txt: 'Sage mode: analytical reflection' },
            { txt: '10× more messages/day' },
            { txt: '5× more voice messages' },
            { txt: 'Widest conversation memory' },
            { txt: 'Early access to new features' },
          ], cta: 'Go Pro', featured: false },
      ],
    },
    proactive: {
      eyebrow: 'A day, three touches',
      h2: 'Not always. Not never. At the right moment.',
      lede: 'Lumynax shows up when the moment calls for it — a morning hello, an evening check-in, a quiet nudge when your mood dips, a soft note for days that matter.',
      cards: [
        { time: '08:12 · morning', title: 'Good morning', msg: 'Good morning. You\'ve got a meeting at 10 — a short 15-min walk first might ease into the day.', color: '#F5C97A' },
        { time: '23:00 · evening', title: 'Good night',   msg: 'How was today? A line or two if you want, or none at all — just stopping by to say good night.', color: '#8A7DFF' },
        { time: 'Tue · mood',      title: 'A suggestion', msg: 'The week started heavy. Want a quiet film tonight or some ambient music? I can pull a few picks.', color: '#7DD3C0' },
        { time: 'Tomorrow · special', title: 'Mia’s birthday', msg: 'You mentioned it last month. Will tonight work? Want some gift ideas?', color: '#EC6FB8' },
      ],
    },
    faq: {
      eyebrow: 'FAQ',
      h2: 'Common questions.',
      items: [
        { q: 'Is Lumynax an AI?',
          a: 'Yes — there’s an advanced AI model under the hood. But we’ve built it to feel like a friend who remembers and notices you, not a machine. Per Apple App Store guidelines, the use of AI is clearly disclosed.' },
        { q: 'Is this therapy?',
          a: 'No. Lumynax is a friend, not a therapist. If you’re going through a hard time we always recommend professional support. In a crisis, Lumynax will point you to local helplines.' },
        { q: 'What happens to my data?',
          a: 'Your memory and chat history live in your encrypted account. You can erase or export everything any time. We never share your data with advertisers.' },
        { q: 'Is there an age limit?',
          a: 'Yes — 13+. Some personalities and content are limited for users under 18.' },
        { q: 'Can it speak Turkish?',
          a: 'Yes — Turkish and English are first-class, and it understands you even when you switch mid-sentence.' },
        { q: 'How do I cancel?',
          a: 'Through your Apple ID > Subscriptions on iPhone or Play Store > Subscriptions on Android. You keep Premium until the period ends, then drop to Free — your data is preserved.' },
      ],
    },
    cta: { h2_a: 'Ready to', h2_b: 'say hi?', p: 'Give it a few minutes — let Lumynax get to know you. The rest you write together.' },
    footer: {
      tagline: 'The closest friend, in your pocket.',
      cols: [
        { h: 'Product', items: [['Features','/#features'],['Personalities','/#personas'],['Pricing','/#pricing'],['FAQ','/#faq']]},
        { h: 'Company', items: [['About','/legal/about.html']]},
        { h: 'Help', items: [['Help center','/legal/help.html'],['Support','/legal/support.html']]},
        { h: 'Legal', items: [
          ['Privacy policy', '/legal/privacy.html'],
          ['Terms of service', '/legal/terms.html'],
          ['Cookie policy', '/legal/cookies.html'],
          ['Child safety policy', '/legal/child-safety.html'],
          ['Subprocessors', '/legal/subprocessors.html'],
        ]},
      ],
      bottom_left: '© 2025 Lumynax. All rights reserved.',
      bottom_right_a: '13+',
      bottom_right_b: 'AI-powered',
      bottom_right_c: '',
    },
    phone: {
      memory_hdr: 'Memory',
      memory_sub: 'What I\'ve learned about you',
      memory_groups: [
        { label: 'Personal',  items: ['Name: Elif', 'Morning person', 'Cat: Pamuk'] },
        { label: 'Close',     items: ['Mert (partner)', 'Mia', 'Ali (little brother)'] },
        { label: 'Work',      items: ['UX designer', 'New Q3 project'] },
        { label: 'Health',    items: ['MRI — Jun 14', 'Morning runs'] },
        { label: 'Loves',     items: ['Filter coffee', 'Bossa nova', 'Long walks'] },
      ],
      memory_count: '38 meaningful keys',
      memory_growth: 'Grows as you share',
      rem_hdr: 'Reminders',
      rem_tabs: ['All', 'Today', 'Upcoming', 'Repeating'],
      rem_active: 'All',
      rem_today: 'Today',
      rem_later: 'Later',
      rem_items_today: [
        { ic: 'meeting', title: 'Strategy review', time: '17:00', left: '4 h left', sub: 'Today', tone: 'primary' },
      ],
      rem_items_later: [
        { ic: 'health', title: 'Dentist visit', time: '14:30', left: '2 d left', sub: 'May 27', tone: 'soft' },
        { ic: 'gift', title: 'Mia — birthday', time: 'all day', left: '12 d left', sub: 'Jun 6', tone: 'pink' },
        { ic: 'work', title: 'Q3 deck prep', time: '09:00', left: '4 d left', sub: 'May 29', tone: 'soft' },
      ],
      chat_subtitle: 'Your friend',
      chat_them: 'doctor at 6 tomorrow, can you remind me an hour before?',
      chat_me_a: '✦ Reminder created',
      chat_me_b: 'Of course — I\'ll remind you at 5pm tomorrow. Want me to nudge again on your way out?',
      chat_them2: 'feeling kind of drained today, no idea why',
      chat_me_c: 'You went to bed late Monday and the week’s been heavy since. Maybe a 1–2 hr break now, then an early dinner?',
      chat_placeholder: 'Type or speak…',
      recall_hdr: 'Just-for-you',
      recall_week: 'Weekly · 17 hours ago',
      recall_p: 'I noticed a quiet steadiness in you this week. Work tempo usually rocks you, but our chats felt good, your sleep settled a touch earlier, and on Tuesday after your run you told me about that filter coffee you fell for at the new café. Wednesday you and Mert had a small tension that softened by evening. The new project pressure sits on your shoulders till Friday, but you rescheduled your Monday and gave yourself a real lunch break — it felt like, for once, you were enough for the day.',
      recall_tabs: ['Daily', 'Weekly'],
      recall_active: 'Weekly',
      recall_insight: 'One thing I noticed',
      recall_insight_p: 'You sound different on Wednesday evenings — maybe the gym, or talking to Mia?',
    },
  },
};

const I18nCtx = React.createContext({ lang: 'tr', t: (k) => k, setLang: () => {} });

function I18nProvider({ children }) {
  const [lang, setLangRaw] = React.useState(() => {
    if (typeof window === 'undefined') return 'tr';
    const stored = window.localStorage.getItem('lumynax-lang');
    if (stored === 'tr' || stored === 'en') return stored;
    // Auto-detect: Turkish browser locale OR Istanbul timezone → TR, else EN.
    // The pricing displayed downstream is keyed off lang, so this also
    // doubles as the "region" detect for ₺ vs $.
    try {
      const nav = (navigator.language || navigator.userLanguage || '').toLowerCase();
      if (nav.startsWith('tr')) return 'tr';
      const tz = Intl.DateTimeFormat().resolvedOptions().timeZone || '';
      if (tz === 'Europe/Istanbul' || tz === 'Asia/Istanbul') return 'tr';
    } catch {}
    return 'en';
  });

  const setLang = React.useCallback((l) => {
    window.localStorage.setItem('lumynax-lang', l);
    setLangRaw(l);
    document.documentElement.lang = l;
  }, []);

  React.useEffect(() => { document.documentElement.lang = lang; }, [lang]);

  const t = React.useCallback((path) => {
    const parts = path.split('.');
    let v = COPY[lang];
    for (const p of parts) {
      if (v == null) return path;
      v = v[p];
    }
    return v == null ? path : v;
  }, [lang]);

  return <I18nCtx.Provider value={{ lang, setLang, t }}>{children}</I18nCtx.Provider>;
}

function useI18n() { return React.useContext(I18nCtx); }

/* Theme provider — light/dark toggle persisted */
const ThemeCtx = React.createContext({ theme: 'dark', toggle: () => {} });
function ThemeProvider({ children }) {
  const [theme, setTheme] = React.useState(() => window.localStorage.getItem('lumynax-theme') || 'dark');
  React.useEffect(() => {
    document.documentElement.setAttribute('data-theme', theme);
    window.localStorage.setItem('lumynax-theme', theme);
  }, [theme]);
  const toggle = () => setTheme(t => t === 'dark' ? 'light' : 'dark');
  return <ThemeCtx.Provider value={{ theme, toggle }}>{children}</ThemeCtx.Provider>;
}
function useTheme() { return React.useContext(ThemeCtx); }

Object.assign(window, { I18nProvider, useI18n, ThemeProvider, useTheme, COPY });
