// Bilingual copy table — single source of truth
// t.ko / t.en pairs. The current language is controlled by the Tweaks panel.
const COPY = {
  nav: {
    products:    { ko: "솔루션",        en: "Solutions" },
    capabilities:{ ko: "역량",          en: "Capabilities" },
    about:       { ko: "회사 소개",      en: "About" },
    contact:     { ko: "문의",          en: "Contact" },
  },

  hero: {
    intelligence: {
      eyebrow:   { ko: "Aseptic Healthcare",  en: "Aseptic Healthcare" },
      title:     { ko: "의료를 위한 인공지능.", en: "Intelligence for medicine." },
      subtitle:  { ko: "사람을 향하도록 설계된 AI.", en: "Designed to serve people first." },
      ctaPrimary:{ ko: "솔루션 살펴보기",   en: "Explore solutions" },
      ctaSecondary:{ ko: "회사 소개",      en: "About us" },
    },
    clinic: {
      eyebrow:   { ko: "Aseptic Healthcare",  en: "Aseptic Healthcare" },
      title:     { ko: "임상의 곁에 서다.",     en: "Built beside the clinician." },
      subtitle:  { ko: "AI 소프트웨어, 의료 AI, 헬스케어 자문.", en: "AI software · Medical AI · Advisory." },
      ctaPrimary:{ ko: "솔루션 살펴보기",   en: "Explore solutions" },
      ctaSecondary:{ ko: "회사 소개",      en: "About us" },
    },
    aseptic: {
      eyebrow:   { ko: "Aseptic Healthcare",  en: "Aseptic Healthcare" },
      title:     { ko: "깨끗한 진료, 정밀한 지능.", en: "Cleaner care. Sharper intelligence." },
      subtitle:  { ko: "현장의 마찰을 줄이는 AI를 만듭니다.", en: "We build AI that removes friction from care." },
      ctaPrimary:{ ko: "솔루션 살펴보기",   en: "Explore solutions" },
      ctaSecondary:{ ko: "회사 소개",      en: "About us" },
    },
  },

  productsSection: {
    eyebrow: { ko: "솔루션",     en: "Solutions" },
    title:   { ko: "현장을 바꾸는 네 가지 제품.", en: "Four products. One mission." },
  },

  products: {
    dralice: {
      tag:     { ko: "FLAGSHIP", en: "FLAGSHIP" },
      name:    { ko: "닥터앨리스",            en: "Dr. Alice" },
      tagline: { ko: "인공지능 진료 보조.",     en: "AI medical co-pilot." },
      desc:    { ko: "진료실 옆에서 듣고, 정리하고, 제안합니다. 의료진의 시간을 환자에게 돌려드립니다.",
                 en: "It listens, structures, and suggests — quietly beside the clinician. So time goes back to the patient." },
      cta:     { ko: "사이트 방문",         en: "Visit site" },
      url:     "https://dralice.ai.kr/",
    },
    globalHospital: {
      tag:     { ko: "다국어",  en: "MULTILINGUAL" },
      name:    { ko: "Global Hospital",      en: "Global Hospital" },
      tagline: { ko: "실시간 진료 통번역 · 문진.", en: "Real-time clinical translation & intake." },
      desc:    { ko: "26개 언어를 진료실 안으로. 환자와 의료진의 거리를 0초로.",
                 en: "26 languages, brought inside the exam room. Zero seconds between patient and clinician." },
    },
    connect: {
      tag:     { ko: "네트워크", en: "NETWORK" },
      name:    { ko: "Connect",              en: "Connect" },
      tagline: { ko: "관계 중심 주소록 서비스.",  en: "A relationship-first address book." },
      desc:    { ko: "사람을 데이터가 아니라 관계로 기억합니다. 의료인을 위한 사적이고 안전한 네트워크.",
                 en: "We remember people as relationships, not records. A private, secure network for clinicians." },
    },
    vovoco: {
      tag:     { ko: "학습",     en: "LEARNING" },
      name:    { ko: "Vovoco",               en: "Vovoco" },
      tagline: { ko: "인공지능 영어학습 도우미.",   en: "AI English-learning companion." },
      desc:    { ko: "말하고 싶은 그 순간에, 정확한 표현을. 음성 기반 AI 튜터.",
                 en: "The right phrase at the moment you want to say it. A voice-first AI tutor." },
    },
  },

  capabilities: {
    eyebrow: { ko: "역량",       en: "Capabilities" },
    title:   { ko: "우리가 하는 일.", en: "What we do." },
    items: [
      {
        title: { ko: "AI 소프트웨어 개발.", en: "AI software development." },
        body:  { ko: "임상에서 쓰일 만큼 견고한 제품을. 모델, 음성, 데이터, UX까지 풀스택으로.",
                 en: "Products robust enough for the clinic. Full-stack — models, voice, data, and the UI around them." },
      },
      {
        title: { ko: "의료 AI.",        en: "Medical AI." },
        body:  { ko: "진료의 흐름을 끊지 않는 모델 설계. 안전성 · 사적영역 · 책임을 기본값으로.",
                 en: "Models that don't break the flow of care. Safety, privacy, and accountability — by default." },
      },
      {
        title: { ko: "헬스케어 자문.",   en: "Healthcare advisory." },
        body:  { ko: "병원과 디지털 헬스 기업을 위한 자문. 전략부터 구현까지 함께합니다.",
                 en: "Advisory for hospitals and digital-health teams. From strategy to shipping — side by side." },
      },
    ],
  },

  manifesto: {
    eyebrow: { ko: "원칙",  en: "Principles" },
    title:   {
      ko: "기술은 조용해야 합니다. 진료는 사람의 일이니까요.",
      en: "Technology should be quiet. Care is human work.",
    },
    body: {
      ko: "Aseptic은 의료에서 인공지능이 자기 자신을 드러내지 않을 때 가장 좋은 결과를 낸다고 믿습니다. 저희는 진단을 대신하지 않습니다. 임상의의 판단이 더 빠르고, 더 정확하고, 덜 지치도록 돕는 도구를 만듭니다.",
      en: "Aseptic believes AI in medicine works best when it disappears. We don't replace diagnosis. We build tools that make a clinician's judgment faster, sharper, and less tired.",
    },
  },

  contact: {
    eyebrow: { ko: "문의",   en: "Get in touch" },
    title:   { ko: "함께 만들고 싶습니다.", en: "Let's build together." },
    sub:     { ko: "협업, 자문, 채용, 또는 그냥 대화도.", en: "Partnership, advisory, hiring — or just to talk." },
    emailLabel: { ko: "이메일",   en: "Email" },
    addressLabel: { ko: "주소",   en: "Address" },
    address: {
      ko: "서울특별시 강남구 영동대로 511\nKorea, South · 06164",
      en: "511 Yeongdong-daero, Gangnam-gu\nSeoul 06164, Korea, South",
    },
  },

  footer: {
    tagline: { ko: "의료를 위한 인공지능.", en: "Intelligence for medicine." },
    legal:   { ko: "Aseptic Healthcare Corp. 모든 권리 보유.", en: "Aseptic Healthcare Corp. All rights reserved." },
    structure: { ko: "법인 · 대한민국", en: "Corporation · Republic of Korea" },
  },
};

// Helper: pick({ko, en}, lang) — returns the right string
function pick(obj, lang) {
  if (!obj || typeof obj !== "object") return obj;
  return obj[lang] ?? obj.en ?? "";
}

Object.assign(window, { COPY, pick });
