// i18n — global language toggle (EN default, ES alternate)
// Usage: const t = useT(); t('hero.title')

const I18N = {
  en: {
    // Nav
    'nav.home': 'Home',
    'nav.create': 'GrowthPad',
    'nav.work': 'Work',
    'nav.services': 'Services',
    'nav.about': 'About',
    'nav.contact': 'Contact',
    'nav.blog': 'Blog',
    'nav.tag': 'MiniApp Studio',
    'nav.book': 'Book a call',
    'nav.beta': 'BETA',

    // Common
    'cta.discoveryCall': 'Book a discovery call',
    'cta.seeMiniapps': 'See the miniapps',
    'cta.allCases': 'All case studies',
    'cta.allServices': 'All services',
    'cta.startProject': 'Start a project',
    'cta.openTelegram': 'Open in Telegram',
    'cta.tryCreate': 'Coming Soon! — Join Whitelist',
    'cta.seePricing': 'See pricing',
    'cta.bookACall': 'Book a call',
    'cta.allFieldNotes': '← All field notes',
    'cta.getInTouch': 'Get in touch',

    // Home — hero
    'home.heroEyebrow': 'Evveland · MiniApp Studio',
    'home.heroLine1': 'Turn Telegram',
    'home.heroLine2': 'into your',
    'home.heroLine3': 'growth engine.',
    'home.heroSub': 'A MiniApp Studio. We design, build, launch and grow miniapps inside Telegram — from Web3 and gaming to brands, communities and operators.',
    'home.metricUsers': 'TELEGRAM USERS',
    'home.metricFees': 'APP STORE FEES',
    'home.metricTap': 'FROM CHAT TO LIVE APP',
    'home.metricTapValue': '1 tap',

    // Home — Why Telegram
    'home.whyEyebrow': '01 — Why Telegram',
    'home.whyTitle1': 'One billion users.',
    'home.whyTitle2': 'Zero friction.',
    'home.whyBody': 'Your audience is already on Telegram. Miniapps meet them there — no app stores, no downloads, no 30% cut.',
    'home.whyOneAudience': 'One audience',
    'home.whyOneAudienceBody': 'Already there. Already engaged. No reinstall, no friction.',
    'home.whyZeroFriction': 'Zero friction',
    'home.whyZeroFrictionBody': 'A tap from a chat to a live app. No store, no download, no review queue.',
    'home.whyNativeRails': 'Native rails',
    'home.whyNativeRailsBody': 'Stars, payments, bots, share. Growth loops baked into the platform.',

    // Home — miniapp lineup
    'home.appsEyebrow': '02 — Miniapps',
    'home.appsTitle1': 'Three live.',
    'home.appsTitle2': 'Two coming.',

    // Home — featured Incaverse
    'home.flagshipTag': 'FLAGSHIP CASE STUDY',
    'home.flagshipWeb3': 'WEB3 · GAMING',
    'home.flagshipS3': 'SEASON 3 — IN DEV',
    'home.flagshipTitle1': 'Incaverse 3:',
    'home.flagshipTitle2': 'The Rise of the Tribes.',
    'home.flagshipBody': 'Our flagship Web3 game — now in its third season. A three-season evolution:',
    'home.flagshipS1': 'Tap2Earn (2D, funded by the Ministerio de Cultura of Spain)',
    'home.flagshipS2Lead': 'Conquest of Chinchaysuyu — immersive narrative (live now)',
    'home.flagshipS3Lead': 'Rise of the Tribes — PvP & narrative (in development)',
    'home.flagshipMetric1': 'REGISTERED · S1',
    'home.flagshipMetric2': 'ACTIVE PLAYERS',
    'home.flagshipMetric3': 'TOKEN HOLDERS',
    'home.flagshipBackedBy': 'BACKED BY',
    'home.flagshipAffiliated': 'AFFILIATED WITH',
    'home.flagshipVisitWeb': 'Visit incaverse.io',

    // Home — services strip
    'home.servicesEyebrow': '03 — What we do',
    'home.servicesTitle1': 'A studio, an agency,',
    'home.servicesTitle2a': 'a ',
    'home.servicesTitle2b': 'growth team',
    'home.servicesTitle2c': ' — in one.',

    // Home — process
    'home.processEyebrow': '04 — Process',
    'home.processTitle1': 'From brief to ',
    'home.processTitle2': 'live audience.',
    'home.processStep1': 'Discover',
    'home.processStep2': 'Design',
    'home.processStep3': 'Build',
    'home.processStep4': 'Launch',
    'home.processStep5': 'Grow',

    // Home — partners
    'home.partnersEyebrow': 'Clients & operators',
    'home.partnersTitle': 'Shipping miniapps with',
    'home.partnersBackedBy': 'Backed & affiliated with',

    // Home — final CTA
    'home.finalEyebrow': 'Ready when you are',
    'home.finalTitle1': 'Got an audience?',
    'home.finalTitle2a': 'Start monetizing it in a ',
    'home.finalTitle2b': 'miniapp.',

    // Create — home section
    'create.tagBeta': 'NEW · BETA',
    'create.tagDiy': 'DIY · SELF-SERVE',
    'create.heroEyebrow': 'Or build it yourself',
    'create.title1': 'GrowthPad.',
    'create.title2a': 'Your audience economy,',
    'create.title2b': 'built in minutes.',
    'create.body': 'AI-powered Telegram miniapp builder. Launch games, raffles, quests and rewards your community actually plays. No code. Ship in minutes.',
    'create.whatsInside': "What's inside",
    'create.needBuiltForYou': 'Need it built for you?',
    'create.studioDfy': 'Studio (DFY)',
    'create.step': 'STEP',
    // GrowthPad page
    'create.pageEyebrow': 'GrowthPad · DIY platform by Evveland',
    'create.pageTitle1': 'Build your',
    'create.pageTitle2': 'audience economy.',
    'create.pageSub': 'AI-powered Telegram miniapp builder for brands, creators and communities. Games, raffles, quests, rewards and leaderboards — themed to your brand, deployed in one click.',
    'create.statusBadge': "BETA · WAITLIST OPEN · MAY '26",
    'create.seePricing': 'See pricing & start',
    'create.visit': 'Visit growthpad.es',
    // Inside
    'create.insideEyebrow': "01 — What's inside",
    'create.insideTitle1': 'Everything you need.',
    'create.insideTitle2': "Nothing you don't.",
    'create.insideBody': 'A focused toolkit. Designed so non-technical teams can launch a branded, gamified Telegram miniapp in days — not months.',
    'create.feat1.title': 'Games, raffles & quests',
    'create.feat1.body': 'Drop-in mechanics that drive engagement: minigames, sticker hunts, ticket raffles, daily quests and challenges. Configure, ship, iterate.',
    'create.feat2.title': 'Rewards & leaderboards',
    'create.feat2.body': 'Points, collectibles, leaderboards and ladders. Reward your top fans automatically and turn casual users into loyal community members.',
    'create.feat3.title': 'Brand builder',
    'create.feat3.body': 'Configure your palette, logo, typography and assets. Live preview, full-bleed brand fidelity. Your miniapp, your colors.',
    'create.feat4.title': 'GrowthPilot AI',
    'create.feat4.body': 'Your AI growth agent. Auto-generates campaigns, content prompts and growth experiments based on what your audience actually engages with.',
    // GrowthPad vs Studio
    'create.vsEyebrow': '02 — Two ways to ship',
    'create.vsTitle1': 'Launch it yourself.',
    'create.vsTitle2': 'Or have us build it.',
    'create.vsBody': 'Most teams start on GrowthPad and graduate to Studio when the scope outgrows the builder.',
    'create.vsCreateName': 'GrowthPad',
    'create.vsCreateBody': 'AI-powered no-code platform. You own the build. Ideal for brands, creators, communities and educators.',
    'create.vsCreateFrom': 'FROM €49/MO',
    'create.vsStudioName': 'Evveland Studio',
    'create.vsStudioBody': 'Full-service studio. We design, build, launch and grow. Ideal for operators, enterprise brands and Web3 projects.',
    'create.vsStudioCustom': 'CUSTOM',
    'create.vsTagDfy': 'DFY · ENTERPRISE',
    // GrowthPad CTA
    'create.ctaEyebrow': 'Beta · waitlist open',
    'create.ctaTitle': 'Grow bold. Scale beyond.',
    'create.ctaBody': 'Start free. Upgrade when your audience does.',

    // Footer
    'footer.tagline': 'A MiniApp Studio. We design, build, launch and grow miniapps inside Telegram — from Web3 and gaming to brands, communities and operators.',
    'footer.live': 'Live miniapps',
    'footer.site': 'Site',
    'footer.contactCol': 'Contact',
    'footer.based': 'Based in Buenos Aires · Working globally',
    'footer.legal': 'Made by humans',
    'footer.lang': 'Language',
    'footer.langEN': 'English',
    'footer.langES': 'Español',

    // Ticker (used in home)
    'ticker.0': 'MINIAPP STUDIO',
    'ticker.1': 'TELEGRAM NATIVE',
    'ticker.2': 'WEB3 + GAMING',
    'ticker.3': 'PERFORMANCE-DRIVEN',
    'ticker.4': 'FULL-STACK STUDIO',
    'ticker.5': 'DESIGN · BUILD · GROW',
    'ticker.6': 'BUENOS AIRES → GLOBAL',

    // Breadcrumbs
    'crumb.home': 'Home',
    'crumb.create': 'Create',
    'crumb.work': 'Work',
    'crumb.services': 'Services',
    'crumb.about': 'About',
    'crumb.contact': 'Contact',
    'crumb.blog': 'Blog',
    'crumb.post': 'Post',

    // Brief form
    'brief.tag': 'OR WRITE',
    'brief.title': 'Send a brief',
    'brief.desc': 'Goes straight to ',
    'brief.descTail': '. Reply within 24h.',
    'brief.name': 'Name',
    'brief.company': 'Company',
    'brief.email': 'Email',
    'brief.audience': 'Audience size',
    'brief.budget': 'Budget range',
    'brief.audiencePlaceholder': 'e.g. 50k Telegram followers',
    'brief.emailPlaceholder': 'you@company.com',
    'brief.pitch': 'What are you trying to grow?',
    'brief.pitchPlaceholder': 'Tell us the pitch — product, audience, timeline, what success looks like...',
    'brief.send': 'Send brief',
    'brief.required': '* REQUIRED',
    'brief.errRequired': 'Required',
    'brief.errEmail': 'Invalid email',
    'brief.errPitch': 'Tell us a bit about the project',
    'brief.sentTag': 'SENT',
    'brief.sentTitle': 'Brief on its way.',
    'brief.sentBody1': 'Your email client should have opened with the brief pre-filled to ',
    'brief.sentBody2': '. Hit send and we\'ll get back within 24 hours.',
    'brief.sentFallback': "Didn't open? ",
    'brief.sentFallbackLink': 'Email us directly',
    'brief.sendAnother': 'Send another',
    'brief.subjectPrefix': 'New brief from',
    'brief.bodyHeaderPitch': 'Pitch / what they want to grow:',
    'brief.bodyFooter': '— sent from evveland.com /contact',

    // Work page
    'work.eyebrow': 'Our work · 4 miniapps',
    'work.title1': 'Every miniapp is a ',
    'work.title2': 'funnel.',
    'work.sub': 'Three live in Telegram, one in development. Each one engineered to acquire, convert and retain — with the numbers our clients actually report on.',
    'work.visitSite': 'Visit site',
    'work.getNotified': 'Get notified',
    'work.ctaTitle': 'Your miniapp could be next.',
    // Work — apps
    'work.app1.title': 'Incaverse 3: The Rise of the Tribes',
    'work.app1.sub': 'Web3 game · Flagship IP · Season 3 in development',
    'work.app1.body': 'Our flagship Web3 game. A three-season evolution: S1 Tap2Earn (2D, funded by the Ministerio de Cultura of Spain); S2 The Conquest of Chinchaysuyu — immersive narrative (live now); S3 The Rise of the Tribes — PvP & narrative (in development). Affiliated with Madrid-in-Game.',
    'work.app2.title': 'Chipsy',
    'work.app2.sub': 'Operator miniapp · Shipped',
    'work.app2.body': 'Operator miniapp engineered for conversion at low CAC. Built for clients who measure success in active users and revenue, not installs.',
    'work.app3.title': 'Plump',
    'work.app3.sub': 'Operator miniapp · LatAm',
    'work.app3.body': 'Second operator on the playbook — compounding returns. LatAm-focused funnel, aggressive retention loops.',
    'work.app4.title': 'Spin the Wheel',
    'work.app4.sub': 'Acquisition miniapp · In development',
    'work.app4.body': 'Lightweight acquisition-funnel miniapp. Designed to plug into any brand or operator as a top-of-funnel engine. White-label ready.',

    // Services page
    'services.eyebrow': 'Services · Full stack',
    'services.title1': 'Everything a miniapp ',
    'services.title2': 'actually needs.',
    'services.sub': 'Pick a single service or hand us the whole roadmap. Most clients start with one; grow into full-stack as the miniapp scales.',
    'services.notSureEyebrow': 'Not sure where to start?',
    'services.notSureTitle': 'One call. A real plan.',
    'services.s1.name': 'Miniapp design & dev',
    'services.s1.desc': 'The end-to-end build. UX research, product design, front + backend engineering, QA, and launch — all in-house.',
    'services.s2.name': 'Game design',
    'services.s2.desc': 'Loops, economies, progression systems. We design games people keep opening — not games people install once.',
    'services.s3.name': 'Tokenomics / on-chain',
    'services.s3.desc': "Wallets, tokens, smart contracts — all integrated cleanly into Telegram UX. Web3 for users who don't know they're using it.",
    'services.s4.name': 'Growth & UA',
    'services.s4.desc': 'Paid + organic + viral. We run campaigns that deliver real conversions, not vanity CTRs. Measured and optimized against the KPIs that matter to you.',
    'services.s5.name': 'Community & retention',
    'services.s5.desc': 'Daily operations in the channels where your audience lives. Events, contests, moderation — the layer most studios skip.',
    'services.s6.name': 'Strategy consulting',
    'services.s6.desc': 'Telegram-native strategy for brands new to the channel. Positioning, channel fit, monetization models.',
    'services.s7.name': 'Ongoing product management',
    'services.s7.desc': 'We stay on post-launch. Roadmap, prioritization, A/B, releases. Iterate on numbers, not hunches.',

    // About page
    'about.eyebrow': 'About · Evveland',
    'about.title1': 'We build for ',
    'about.title2': 'operators,',
    'about.title3': 'not decks.',
    'about.sub': "Evveland is a MiniApp Studio. We sit where product, gaming, Web3 and performance marketing meet. We've shipped miniapps for operators across verticals and launched our own flagship IP — so when you brief us, you're briefing a team that has already lived it.",
    'about.pillar1.title': 'Web3 + Gaming',
    'about.pillar1.body': 'We design for the intersection — wallets, tokens, progression, economies. The full stack, not half of it.',
    'about.pillar2.title': 'Performance-led',
    'about.pillar2.body': 'We measure work in real conversions and retained users, not impressions or installs. Clients hire us because we speak their KPIs.',
    'about.pillar3.title': 'Telegram-native',
    'about.pillar3.body': "We didn't pivot to miniapps. We were built for them. The channel, the SDK, the distribution model — it's what we do.",
    'about.team': 'The team',
    'about.partners': 'Partners & clients shipping with us',
    'about.backedBy': 'Backed & affiliated with',
    'about.ctaTitle': 'Want to build with us?',

    // Contact page
    'contact.eyebrow': "Contact · Let's build",
    'contact.title1': 'One call. ',
    'contact.title2': 'A real plan.',
    'contact.sub': "Book 30 minutes. Tell us what you're trying to grow. Leave with a clear path — miniapp, scope, economics, timeline.",
    'contact.tagPrimary': 'PRIMARY',
    'contact.bookTitle': 'Book a 30-min call',
    'contact.bookSub': "Grab time on our calendar. We'll scope it live.",
    'contact.colEmail': 'Email',
    'contact.colTelegram': 'Telegram',
    'contact.colSocial': 'Social',
  },
  es: {
    // Nav
    'nav.home': 'Inicio',
    'nav.create': 'GrowthPad',
    'nav.work': 'Proyectos',
    'nav.services': 'Servicios',
    'nav.about': 'Nosotros',
    'nav.contact': 'Contacto',
    'nav.blog': 'Blog',
    'nav.tag': 'MiniApp Studio',
    'nav.book': 'Reserva una llamada',
    'nav.beta': 'BETA',

    // Common
    'cta.discoveryCall': 'Reserva una llamada de descubrimiento',
    'cta.seeMiniapps': 'Ver los miniapps',
    'cta.allCases': 'Todos los casos',
    'cta.allServices': 'Todos los servicios',
    'cta.startProject': 'Iniciar un proyecto',
    'cta.openTelegram': 'Abrir en Telegram',
    'cta.tryCreate': '¡Próximamente! — Únete a la Whitelist',
    'cta.seePricing': 'Ver precios',
    'cta.bookACall': 'Reserva una llamada',
    'cta.allFieldNotes': '← Todas las notas',
    'cta.getInTouch': 'Contáctanos',

    // Home — hero
    'home.heroEyebrow': 'Evveland · MiniApp Studio',
    'home.heroLine1': 'Convierte Telegram',
    'home.heroLine2': 'en tu',
    'home.heroLine3': 'motor de crecimiento.',
    'home.heroSub': 'Un MiniApp Studio. Diseñamos, construimos, lanzamos y hacemos crecer miniapps dentro de Telegram — desde Web3 y gaming hasta marcas, comunidades y operadores.',
    'home.metricUsers': 'USUARIOS DE TELEGRAM',
    'home.metricFees': 'COMISIONES APP STORE',
    'home.metricTap': 'DEL CHAT A LA APP EN VIVO',
    'home.metricTapValue': '1 tap',

    // Home — Why Telegram
    'home.whyEyebrow': '01 — Por qué Telegram',
    'home.whyTitle1': 'Mil millones de usuarios.',
    'home.whyTitle2': 'Cero fricción.',
    'home.whyBody': 'Tu audiencia ya está en Telegram. Los miniapps los encuentran ahí — sin app stores, sin descargas, sin comisiones del 30%.',
    'home.whyOneAudience': 'Una audiencia',
    'home.whyOneAudienceBody': 'Ya está ahí. Ya está activa. Sin reinstalar, sin fricción.',
    'home.whyZeroFriction': 'Cero fricción',
    'home.whyZeroFrictionBody': 'Un tap del chat a una app en vivo. Sin store, sin descarga, sin colas de revisión.',
    'home.whyNativeRails': 'Rails nativos',
    'home.whyNativeRailsBody': 'Stars, pagos, bots, share. Loops de crecimiento incorporados a la plataforma.',

    // Home — miniapp lineup
    'home.appsEyebrow': '02 — Miniapps',
    'home.appsTitle1': 'Tres en vivo.',
    'home.appsTitle2': 'Dos en camino.',

    // Home — featured Incaverse
    'home.flagshipTag': 'CASO INSIGNIA',
    'home.flagshipWeb3': 'WEB3 · GAMING',
    'home.flagshipS3': 'TEMPORADA 3 — EN DESARROLLO',
    'home.flagshipTitle1': 'Incaverse 3:',
    'home.flagshipTitle2': 'The Rise of the Tribes.',
    'home.flagshipBody': 'Nuestro juego insignia Web3 — ahora en su tercera temporada. Una evolución de tres temporadas:',
    'home.flagshipS1': 'Tap2Earn (2D, financiado por el Ministerio de Cultura de España)',
    'home.flagshipS2Lead': 'La Conquista del Chinchaysuyu — narrativa inmersiva (en vivo)',
    'home.flagshipS3Lead': 'Rise of the Tribes — PvP y narrativa (en desarrollo)',
    'home.flagshipMetric1': 'REGISTRADOS · T1',
    'home.flagshipMetric2': 'JUGADORES ACTIVOS',
    'home.flagshipMetric3': 'TOKEN HOLDERS',
    'home.flagshipBackedBy': 'RESPALDADO POR',
    'home.flagshipAffiliated': 'AFILIADO A',
    'home.flagshipVisitWeb': 'Visitar incaverse.io',

    // Home — services strip
    'home.servicesEyebrow': '03 — Qué hacemos',
    'home.servicesTitle1': 'Un studio, una agencia,',
    'home.servicesTitle2a': 'un ',
    'home.servicesTitle2b': 'equipo de growth',
    'home.servicesTitle2c': ' — todo en uno.',

    // Home — process
    'home.processEyebrow': '04 — Proceso',
    'home.processTitle1': 'Del brief a la ',
    'home.processTitle2': 'audiencia en vivo.',
    'home.processStep1': 'Descubrir',
    'home.processStep2': 'Diseñar',
    'home.processStep3': 'Construir',
    'home.processStep4': 'Lanzar',
    'home.processStep5': 'Crecer',

    // Home — partners
    'home.partnersEyebrow': 'Clientes y operadores',
    'home.partnersTitle': 'Lanzando miniapps con',
    'home.partnersBackedBy': 'Respaldados y afiliados con',

    // Home — final CTA
    'home.finalEyebrow': 'Cuando estés listo',
    'home.finalTitle1': '¿Tienes audiencia?',
    'home.finalTitle2a': 'Empieza a monetizarla en una ',
    'home.finalTitle2b': 'miniapp.',

    // Create — home section
    'create.tagBeta': 'NUEVO · BETA',
    'create.tagDiy': 'DIY · SELF-SERVE',
    'create.heroEyebrow': 'O constrúyelo tú mismo',
    'create.title1': 'GrowthPad.',
    'create.title2a': 'Tu economía de audiencia,',
    'create.title2b': 'construida en minutos.',
    'create.body': 'Builder de miniapps de Telegram con IA. Lanza juegos, sorteos, quests y recompensas que tu comunidad realmente juega. Sin código. En minutos.',
    'create.whatsInside': 'Qué incluye',
    'create.needBuiltForYou': '¿Quieres que lo construyamos por ti?',
    'create.studioDfy': 'Studio (DFY)',
    'create.step': 'PASO',
    // GrowthPad page
    'create.pageEyebrow': 'GrowthPad · Plataforma DIY by Evveland',
    'create.pageTitle1': 'Construye tu',
    'create.pageTitle2': 'economía de audiencia.',
    'create.pageSub': 'Builder de miniapps de Telegram con IA para marcas, creadores y comunidades. Juegos, sorteos, quests, recompensas y leaderboards — con tu branding, desplegado en un click.',
    'create.statusBadge': 'BETA · LISTA DE ESPERA · MAYO 2026',
    'create.seePricing': 'Ver precios y empezar',
    'create.visit': 'Visitar growthpad.es',
    // Inside
    'create.insideEyebrow': '01 — Qué incluye',
    'create.insideTitle1': 'Todo lo que necesitas.',
    'create.insideTitle2': 'Nada de lo que no.',
    'create.insideBody': 'Un toolkit enfocado. Diseñado para que equipos no técnicos lancen una miniapp de Telegram gamificado y con tu marca en días — no meses.',
    'create.feat1.title': 'Juegos, sorteos y quests',
    'create.feat1.body': 'Mecánicas drop-in que generan engagement: minijuegos, sticker hunts, sorteos por tickets, quests diarios y desafíos. Configura, lanza, itera.',
    'create.feat2.title': 'Recompensas y leaderboards',
    'create.feat2.body': 'Puntos, coleccionables, leaderboards y ladders. Premia automáticamente a tus top fans y convierte usuarios casuales en comunidad fiel.',
    'create.feat3.title': 'Brand builder',
    'create.feat3.body': 'Configura tu paleta, logo, tipografía y assets. Vista previa en vivo, fidelidad total. Tu miniapp, tus colores.',
    'create.feat4.title': 'GrowthPilot AI',
    'create.feat4.body': 'Tu agente de growth con IA. Auto-genera campañas, prompts de contenido y experimentos basados en lo que tu audiencia realmente engancha.',
    // GrowthPad vs Studio
    'create.vsEyebrow': '02 — Dos formas de lanzar',
    'create.vsTitle1': 'Lánzalo tú.',
    'create.vsTitle2': 'O deja que lo hagamos nosotros.',
    'create.vsBody': 'La mayoría de los equipos empiezan en GrowthPad y pasan a Studio cuando el scope crece más allá del builder.',
    'create.vsCreateName': 'GrowthPad',
    'create.vsCreateBody': 'Plataforma no-code con IA. Tú manejas el build. Ideal para marcas, creadores, comunidades y educadores.',
    'create.vsCreateFrom': 'DESDE €49/MES',
    'create.vsStudioName': 'Evveland Studio',
    'create.vsStudioBody': 'Studio full-service. Diseñamos, construimos, lanzamos y hacemos crecer. Ideal para operadores, marcas enterprise y proyectos Web3.',
    'create.vsStudioCustom': 'A MEDIDA',
    'create.vsTagDfy': 'DFY · ENTERPRISE',
    // GrowthPad CTA
    'create.ctaEyebrow': 'Beta · lista de espera abierta',
    'create.ctaTitle': 'Crece con audacia. Escala más allá.',
    'create.ctaBody': 'Empieza gratis. Sube de tier cuando lo haga tu audiencia.',

    // Footer
    'footer.tagline': 'Un MiniApp Studio. Diseñamos, construimos, lanzamos y hacemos crecer miniapps dentro de Telegram — desde Web3 y gaming hasta marcas, comunidades y operadores.',
    'footer.live': 'Miniapps en vivo',
    'footer.site': 'Sitio',
    'footer.contactCol': 'Contacto',
    'footer.based': 'Basados en Buenos Aires · Trabajando globalmente',
    'footer.legal': 'Hecho por humanos',
    'footer.lang': 'Idioma',
    'footer.langEN': 'English',
    'footer.langES': 'Español',

    // Ticker
    'ticker.0': 'MINIAPP STUDIO',
    'ticker.1': 'TELEGRAM NATIVO',
    'ticker.2': 'WEB3 + GAMING',
    'ticker.3': 'PERFORMANCE-DRIVEN',
    'ticker.4': 'FULL-STACK STUDIO',
    'ticker.5': 'DISEÑO · BUILD · GROWTH',
    'ticker.6': 'BUENOS AIRES → GLOBAL',

    // Breadcrumbs
    'crumb.home': 'Inicio',
    'crumb.create': 'Create',
    'crumb.work': 'Proyectos',
    'crumb.services': 'Servicios',
    'crumb.about': 'Nosotros',
    'crumb.contact': 'Contacto',
    'crumb.blog': 'Blog',
    'crumb.post': 'Artículo',

    // Brief form
    'brief.tag': 'O ESCRÍBENOS',
    'brief.title': 'Envía un brief',
    'brief.desc': 'Va directo a ',
    'brief.descTail': '. Respondemos en 24h.',
    'brief.name': 'Nombre',
    'brief.company': 'Empresa',
    'brief.email': 'Email',
    'brief.audience': 'Tamaño de audiencia',
    'brief.budget': 'Rango de presupuesto',
    'brief.audiencePlaceholder': 'ej. 50k followers en Telegram',
    'brief.emailPlaceholder': 'tu@empresa.com',
    'brief.pitch': '¿Qué quieres hacer crecer?',
    'brief.pitchPlaceholder': 'Cuéntanos el pitch — producto, audiencia, timeline, cómo se ve el éxito...',
    'brief.send': 'Enviar brief',
    'brief.required': '* OBLIGATORIO',
    'brief.errRequired': 'Obligatorio',
    'brief.errEmail': 'Email inválido',
    'brief.errPitch': 'Cuéntanos un poco del proyecto',
    'brief.sentTag': 'ENVIADO',
    'brief.sentTitle': 'Brief en camino.',
    'brief.sentBody1': 'Tu cliente de email debería haber abierto con el brief pre-cargado a ',
    'brief.sentBody2': '. Envíalo y te respondemos en 24 horas.',
    'brief.sentFallback': '¿No abrió? ',
    'brief.sentFallbackLink': 'Escríbenos directo',
    'brief.sendAnother': 'Enviar otro',
    'brief.subjectPrefix': 'Nuevo brief de',
    'brief.bodyHeaderPitch': 'Pitch / qué quieren hacer crecer:',
    'brief.bodyFooter': '— enviado desde evveland.com /contact',

    // Work page
    'work.eyebrow': 'Nuestros proyectos · 4 miniapps',
    'work.title1': 'Cada miniapp es un ',
    'work.title2': 'funnel.',
    'work.sub': 'Tres en vivo en Telegram, uno en desarrollo. Cada uno diseñado para adquirir, convertir y retener — con los números que nuestros clientes realmente reportan.',
    'work.visitSite': 'Visitar sitio',
    'work.getNotified': 'Avísame',
    'work.ctaTitle': 'Tu miniapp podría ser el próximo.',
    'work.app1.title': 'Incaverse 3: The Rise of the Tribes',
    'work.app1.sub': 'Juego Web3 · IP insignia · Temporada 3 en desarrollo',
    'work.app1.body': 'Nuestro juego insignia Web3. Una evolución de tres temporadas: T1 Tap2Earn (2D, financiado por el Ministerio de Cultura de España); T2 La Conquista del Chinchaysuyu — narrativa inmersiva (en vivo); T3 The Rise of the Tribes — PvP y narrativa (en desarrollo). Afiliado a Madrid-in-Game.',
    'work.app2.title': 'Chipsy',
    'work.app2.sub': 'Miniapp de operador · Lanzado',
    'work.app2.body': 'Miniapp de operador diseñado para conversión a bajo CAC. Para clientes que miden éxito en usuarios activos y revenue, no en instalaciones.',
    'work.app3.title': 'Plump',
    'work.app3.sub': 'Miniapp de operador · LatAm',
    'work.app3.body': 'Segundo operador del playbook — retornos compuestos. Funnel enfocado en LatAm, loops de retención agresivos.',
    'work.app4.title': 'Spin the Wheel',
    'work.app4.sub': 'Miniapp de adquisición · En desarrollo',
    'work.app4.body': 'Miniapp de funnel de adquisición liviano. Diseñado para conectarse a cualquier marca u operador como motor top-of-funnel. Listo para white-label.',

    // Services
    'services.eyebrow': 'Servicios · Full stack',
    'services.title1': 'Todo lo que un miniapp ',
    'services.title2': 'realmente necesita.',
    'services.sub': 'Elige un servicio específico o entréganos el roadmap completo. La mayoría empieza con uno y crece a full-stack a medida que el miniapp escala.',
    'services.notSureEyebrow': '¿No sabes por dónde empezar?',
    'services.notSureTitle': 'Una llamada. Un plan real.',
    'services.s1.name': 'Diseño y desarrollo de miniapps',
    'services.s1.desc': 'El build end-to-end. UX research, diseño de producto, ingeniería front + backend, QA y lanzamiento — todo in-house.',
    'services.s2.name': 'Diseño de juegos',
    'services.s2.desc': 'Loops, economías, sistemas de progresión. Diseñamos juegos que la gente sigue abriendo — no juegos que se instalan una vez.',
    'services.s3.name': 'Tokenomics / on-chain',
    'services.s3.desc': 'Wallets, tokens, smart contracts — integrados limpiamente en la UX de Telegram. Web3 para usuarios que no saben que están usando Web3.',
    'services.s4.name': 'Growth y UA',
    'services.s4.desc': 'Paid + orgánico + viral. Corremos campañas que entregan conversiones reales, no CTRs vanidosos. Medido y optimizado contra los KPIs que te importan.',
    'services.s5.name': 'Community y retención',
    'services.s5.desc': 'Operaciones diarias en los canales donde vive tu audiencia. Eventos, contests, moderación — la capa que la mayoría de los studios saltan.',
    'services.s6.name': 'Consultoría estratégica',
    'services.s6.desc': 'Estrategia Telegram-native para marcas nuevas en el canal. Posicionamiento, fit de canal, modelos de monetización.',
    'services.s7.name': 'Product management ongoing',
    'services.s7.desc': 'Nos quedamos post-lanzamiento. Roadmap, priorización, A/B, releases. Iteramos sobre números, no corazonadas.',

    // About
    'about.eyebrow': 'Nosotros · Evveland',
    'about.title1': 'Construimos para ',
    'about.title2': 'operadores,',
    'about.title3': 'no para slides.',
    'about.sub': 'Evveland es un MiniApp Studio. Estamos donde se cruzan producto, gaming, Web3 y performance marketing. Lanzamos miniapps para operadores en distintos verticales y desarrollamos nuestra propia IP insignia — así que cuando nos pasas un brief, se lo estás pasando a un equipo que ya lo vivió.',
    'about.pillar1.title': 'Web3 + Gaming',
    'about.pillar1.body': 'Diseñamos para la intersección — wallets, tokens, progresión, economías. El stack completo, no la mitad.',
    'about.pillar2.title': 'Performance-led',
    'about.pillar2.body': 'Medimos el trabajo en conversiones reales y usuarios retenidos, no impresiones ni instalaciones. Los clientes nos contratan porque hablamos su lenguaje de KPIs.',
    'about.pillar3.title': 'Telegram-native',
    'about.pillar3.body': 'No pivoteamos a miniapps. Fuimos hechos para esto. El canal, el SDK, el modelo de distribución — es lo que hacemos.',
    'about.team': 'El equipo',
    'about.partners': 'Partners y clientes lanzando con nosotros',
    'about.backedBy': 'Respaldados y afiliados con',
    'about.ctaTitle': '¿Quieres construir con nosotros?',

    // Contact
    'contact.eyebrow': 'Contacto · Construyamos',
    'contact.title1': 'Una llamada. ',
    'contact.title2': 'Un plan real.',
    'contact.sub': 'Reserva 30 minutos. Cuéntanos qué quieres hacer crecer. Te vas con un camino claro — miniapp, scope, economía, timeline.',
    'contact.tagPrimary': 'PRIMARIO',
    'contact.bookTitle': 'Reserva una llamada de 30 min',
    'contact.bookSub': 'Coge un horario en nuestro calendario. Lo definimos en vivo.',
    'contact.colEmail': 'Email',
    'contact.colTelegram': 'Telegram',
    'contact.colSocial': 'Social',
  },
};

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

function useT() {
  const { lang } = React.useContext(LangContext);
  return (key) => {
    const dict = I18N[lang] || I18N.en;
    return key in dict ? dict[key] : (I18N.en[key] !== undefined ? I18N.en[key] : key);
  };
}

function useLang() {
  return React.useContext(LangContext);
}

function LangProvider({ children }) {
  const [lang, setLangState] = React.useState(() => {
    try {
      const saved = localStorage.getItem('evveland_lang');
      if (saved === 'es' || saved === 'en') return saved;
    } catch (e) {}
    return 'en';
  });
  const setLang = (l) => {
    setLangState(l);
    try { localStorage.setItem('evveland_lang', l); } catch (e) {}
    document.documentElement.lang = l;
  };
  React.useEffect(() => {
    document.documentElement.lang = lang;
  }, [lang]);
  return <LangContext.Provider value={{ lang, setLang }}>{children}</LangContext.Provider>;
}

// Compact lang toggle pill — used in nav
function LangToggle({ size = 'sm' }) {
  const { lang, setLang } = useLang();
  const fontSize = size === 'sm' ? 11 : 13;
  const padding = size === 'sm' ? '4px' : '6px';
  return (
    <div style={{
      display: 'inline-flex',
      background: 'var(--ink-2)',
      border: '1px solid var(--line)',
      borderRadius: 999,
      padding,
      fontFamily: 'JetBrains Mono',
      fontSize,
      gap: 2,
    }}>
      {['en', 'es'].map((l) => (
        <button
          key={l}
          onClick={() => setLang(l)}
          aria-pressed={lang === l}
          aria-label={l === 'en' ? 'English' : 'Español'}
          style={{
            background: lang === l ? 'var(--accent)' : 'transparent',
            color: lang === l ? '#0c0e15' : 'var(--text-3)',
            border: 'none',
            padding: size === 'sm' ? '4px 10px' : '6px 14px',
            borderRadius: 999,
            cursor: 'pointer',
            fontFamily: 'JetBrains Mono',
            fontWeight: 600,
            fontSize,
            letterSpacing: '0.08em',
            textTransform: 'uppercase',
            transition: 'all 150ms ease',
          }}
        >
          {l}
        </button>
      ))}
    </div>
  );
}

Object.assign(window, { I18N, LangContext, LangProvider, useT, useLang, LangToggle });
