// Data for CloudEngine Digital landing page (multi-page)
const SERVICES = [
  {
    id: 'gpu',
    chip: 'PILLAR 01',
    title: 'GPU Virtualization & Orchestration',
    tag: 'Infrastructure',
    desc: 'Turn raw GPU capacity into a shared, governable AI platform. A control plane that lets multiple teams ship without stepping on each other.',
    caps: [
      { b: 'Multi-tenant partitioning', t: 'Slice GPUs across teams, projects, and quotas with strict isolation and fair scheduling.' },
      { b: 'Workload orchestration', t: 'Kubernetes-native scheduling for training, inference, and batch jobs on heterogeneous hardware.' },
      { b: 'Utilization control', t: 'Live dashboards, quota enforcement, and SSO/LDAP-grade access for the whole estate.' },
      { b: 'Open ecosystem', t: 'First-class support for PyTorch, TensorFlow, Ray, vLLM, and the leading serving runtimes.' },
    ],
  },
  {
    id: 'data',
    chip: 'PILLAR 02',
    title: 'Data Foundation',
    tag: 'Data',
    desc: 'Make enterprise data accurate, accessible, governed, and AI-ready. Each layer of the foundation evolves independently, so new models and agents can scale without rebuilding the stack.',
    caps: [
      { b: 'Architecture realignment', t: 'Reshape data architecture so governance, scalability, and AI-readiness are built into the foundation — not bolted on later.' },
      { b: 'Cloud platform modernization', t: 'Migrate data estates onto modern cloud platforms that scale on demand and bring storage and compute costs down.' },
      { b: 'Quality & reliability', t: 'Surface and prioritize data quality issues so business teams and AI systems can trust the data they consume.' },
      { b: 'AI-ready dataset engineering', t: 'Convert raw enterprise data into canonical, validated, reconciled datasets — engineered for AI and advanced analytics.' },
      { b: 'Outcome activation', t: 'Stand up AI agents on top of the foundation that translate intelligence into measurable business outcomes.' },
    ],
  },
  {
    id: 'llm',
    chip: 'PILLAR 03',
    title: 'LLM Application Operation',
    tag: 'Operations',
    desc: 'Operationalize the LLM lifecycle from planning to continuous improvement. The disciplined operating model production AI actually needs.',
    caps: [
      { b: 'Plan → Deploy → Operate', t: 'A repeatable lifecycle covering objectives, data, prompt engineering, evaluation, and rollout.' },
      { b: 'Monitoring & quality gates', t: 'Real-time metrics, anomaly detection, and decision gates for every model release.' },
      { b: 'Continuous adaptation', t: 'Feedback loops capture user signal and convert it into measurable model improvement.' },
      { b: 'Governance built in', t: 'Audit, lineage, and stakeholder review baked into every step of the lifecycle.' },
    ],
  },
  {
    id: 'sec',
    chip: 'PILLAR 04',
    title: 'LLM Security',
    tag: 'Security',
    desc: 'Protect LLM applications, models, data, plugins, and downstream services. Coverage across the full application flow, not just the model.',
    caps: [
      { b: 'Prompt & output defense', t: 'Stop prompt injection, sensitive disclosure, insecure output, and overreliance failure modes.' },
      { b: 'Model & supply-chain integrity', t: 'Detect model theft, training data poisoning, and unsafe upstream dependencies.' },
      { b: 'Plugin & service controls', t: 'Govern insecure plugin design, excessive agency, and connections to downstream services.' },
      { b: 'Auditable operations', t: 'Surface security gaps before production and support governed enterprise AI adoption.' },
    ],
  },
];

const SOLUTIONS = [
  {
    num: '00',
    title: 'NVIDIA GPU Compute Network',
    desc: 'A blueprint for high-performance GPU compute fabrics — compute, storage, and management plane for production AI workloads at scale.',
    tags: ['NVIDIA', 'GPU Compute', 'Network Fabric', 'Reference Design'],
    bullets: ['H200 / B200 8-Rail Architecture', 'GB200 NVL72 4-Rail Architecture', 'RoCE GB300 NVL72 TH5-800G', 'Topology diagrams & scaling profiles'],
    href: 'architecture.html',
  },
  {
    num: '01',
    title: 'GPU Virtualization & Orchestration',
    desc: 'A structured control plane that helps teams share GPU infrastructure efficiently, standardize AI workload operations, and reduce platform sprawl.',
    tags: ['Kubernetes', 'Multi-Tenant', 'NVIDIA / AMD', 'BeeGFS / Ceph'],
    bullets: ['AI Developer Ecosystem Layer', 'Control Plane API & Quota', 'Cluster Engine & Scheduler', 'GPU partitioning & batch jobs'],
  },
  {
    num: '02',
    title: 'Data Foundation',
    desc: 'Reshape enterprise data into a governed, AI-ready foundation — quality, lineage, and modernization built in so models and agents can scale without rebuilding the stack.',
    tags: ['Lakehouse', 'Governance', 'Lineage', 'AI-Ready Datasets'],
    bullets: ['Data architecture realignment', 'Cloud platform modernization', 'Quality & reliability controls', 'AI-ready dataset engineering', 'Outcome activation via agents'],
  },
  {
    num: '03',
    title: 'LLM Deployment & Operation',
    desc: 'A disciplined operating lifecycle covering plan, data engineering, prompt engineering, evaluation, deployment, and continuous improvement.',
    tags: ['Lifecycle Ops', 'Evaluation', 'Monitoring', 'Quality Gates'],
    bullets: ['Plan and prompt engineering', 'Evaluation & verification', 'Deployment & monitoring', 'Adaptation & iteration'],
  },
  {
    num: '04',
    title: 'LLM Security',
    desc: 'End-to-end protection across the LLM application surface — application services, production services, plugins, training data, and downstream services.',
    tags: ['OWASP LLM Top 10', 'Data Protection', 'Plugin Controls', 'Supply Chain'],
    bullets: ['End-user and prompt safeguards', 'Application & production services', 'Plugin & extension governance', 'Training data integrity'],
  },
  {
    num: '05',
    title: 'AI Security Gateway',
    desc: 'A gateway-centered security architecture that applies central policy, inspection, and control across all AI traffic — agents, models, and connected infrastructure — with auditable operations at scale.',
    tags: ['Central Policy', 'DLP', 'Rate Limiting', 'Token Auth', 'Multi-Provider'],
    bullets: ['Rate limiting and token authentication', 'Access policy & AI security policy', 'DLP inspection on DLPoD appliance', 'AISG GPU/CPU-based guardrails', 'Multi-provider AI traffic', 'Audit-grade logging & alerts'],
  },
];

const FRAMEWORK = [
  { n: '01', title: 'Assess & Prioritize', items: ['Use cases and business goals', 'Current-state platform review', 'GPU, LLM, and security priorities'] },
  { n: '02', title: 'Design & Govern', items: ['Target architecture', 'Operating model and roles', 'Policy and control framework'] },
  { n: '03', title: 'Build & Deploy', items: ['Platform setup and integration', 'Workload rollout', 'Production readiness'] },
  { n: '04', title: 'Run & Improve', items: ['Monitoring and optimization', 'Feedback and iteration', 'Security posture improvement'] },
];

const STATS = [
  { num: '1', unit: '', cat: 'Platform', lbl: 'One partner to build, run and secure enterprise & hyperscale AI' },
  { num: '60', unit: '+', cat: 'Countries', lbl: 'Global local service powered by in-house team' },
  { num: '2200', unit: '+', cat: 'Projects', lbl: 'Deliver projects of all scales on schedule' },
  { num: '1000', unit: '+', cat: 'Engineers', lbl: 'On-site engineers and technicians across key markets worldwide' },
];

/* ---------- Infrastructure Services (Global AIDC + GPU) ---------- */
const INFRA_SERVICES = [
  {
    num: '01',
    title: 'Network Design & Planning',
    tag: 'Plan',
    desc: 'Pre-deployment engineering — configurations, cabling plans, topology diagrams, and golden images prepared before anything ships to the data hall.',
    bullets: [
      'Prepare server & switch configuration files',
      'Prepare server images, switch versions / firmware',
      'Network topology diagram & floor layout design',
      'P2P connection list (cutsheet) design & cable length estimation',
    ],
  },
  {
    num: '02',
    title: 'Rack/Stack & Structured Cabling',
    tag: 'Build',
    desc: 'On-the-ground build of the cluster — racks, power, compute, network, and storage hardware installed, energised, and fully cabled.',
    bullets: [
      'Install racks, rails, PDUs',
      'Rack & power on compute node servers',
      'Deploy & power on network node switches',
      'Rack & power on storage node servers',
      'Cable stripping, routing, management & labeling',
      'Deploy MPO/LC-LC/UTP/trunk cables & patch panels',
    ],
  },
  {
    num: '03',
    title: 'Logical Configuration / Verification',
    tag: 'Configure',
    desc: 'Bring the cluster online — system images, firmware, switch configuration, and management plane stood up and validated.',
    bullets: [
      'Install system image & verify connectivity for compute nodes',
      'Upgrade firmware & system versions for network nodes',
      'Apply switch configuration (RoCE) for network nodes',
      'Install & configure UFM (InfiniBand) for network nodes',
      'Test cables, verify physical connections & validate topology',
      'Deploy management nodes (NMIX, BCM, NetQ)',
    ],
  },
  {
    num: '04',
    title: 'Advanced Testing & Verification',
    tag: 'Validate',
    desc: 'Cluster-level burn-in, stress, and benchmark — proving the system performs at the spec the customer signed for.',
    bullets: [
      'Network verification, system operation validation (burn-in test), basic stress & stability tests',
      'NCCL and HPL tests for certain HGX products',
      'Advanced benchmark tests for certain HGX products',
    ],
  },
  {
    num: '05',
    title: 'Customer Handover Documentation',
    tag: 'Handover',
    desc: 'A complete handover package — every configuration, test result, and operational note customers need to run the cluster.',
    bullets: [
      'Detailed hardware configuration, detailed logical configuration',
      'Unit verification report, cluster verification test report',
      'Daily end report, pending issues',
    ],
  },
];

const DELIVERY_WORKFLOW = [
  { n: '01', title: 'Site Survey & Planning' },
  { n: '02', title: 'Rack Positioning & Fit-Out Prep' },
  { n: '03', title: 'Equipment Installation' },
  { n: '04', title: 'Structured Cabling' },
  { n: '05', title: 'Testing & Commissioning' },
  { n: '06', title: 'Ongoing Technical Support' },
];

const GPU_MODELS = ['GB300', 'GB200', 'B300', 'B200', 'H200', 'H100', 'A100', 'L40', 'L40S', 'RTX PRO 6000'];

const REGIONS = [
  { country: 'Singapore', role: 'HQ', code: 'SG' },
  { country: 'Malaysia', code: 'MY' },
  { country: 'Indonesia', code: 'ID' },
  { country: 'Thailand', code: 'TH' },
  { country: 'Vietnam', code: 'VN' },
  { country: 'Philippines', code: 'PH' },
  { country: 'South Korea', code: 'KR' },
  { country: 'Japan', code: 'JP' },
  { country: 'Germany', code: 'DE' },
  { country: 'Saudi Arabia', code: 'SA' },
  { country: 'United Arab Emirates', code: 'AE' },
  { country: 'United States', code: 'US' },
];

const SERVE = [
  { name: 'Cloud Service Providers', short: 'CSPs', desc: 'Hyperscalers and regional clouds building AI-ready capacity.' },
  { name: 'Neo-Cloud Providers', short: 'NCPs', desc: 'GPU-first cloud builders standing up dense AI fabrics.' },
  { name: 'Internet Companies', short: 'Web-scale', desc: 'Consumer and SaaS platforms scaling internal AI workloads.' },
  { name: 'Data Center Operators', short: 'Operators', desc: 'Colocation and wholesale operators delivering AIDC capacity.' },
];

const CASE_STUDIES = [
  {
    code: 'CE/MY-25',
    location: 'Malaysia · 2025',
    title: 'Malaysia NVIDIA AI Factory GB200 GPU Cluster Deployment',
    subtitle: 'End-to-end installation, structured cabling, and post-deployment support',
    duration: 'May 2025 – October 2025',
    stats: [
      { n: '64', u: '', lbl: 'GB200 GPU servers deployed' },
      { n: '40,000', u: '+', lbl: 'cables deployed and tested' },
      { n: '6', u: ' mo', lbl: 'end-to-end project duration' },
      { n: '1', u: '', lbl: 'single accountable delivery partner' },
    ],
    scope: ['Hardware installation', 'Structured cabling', 'Testing & commissioning', 'Post-deployment support'],
    coverage: 'Johor, Malaysia',
    customer: 'Cloud / GPU infrastructure operator',
  },
  {
    code: 'CE/HSP-26',
    location: 'APAC + US · Ongoing',
    title: 'APAC Local Hyperscaler Regional DC Project',
    subtitle: 'Multi-country rack installation and structured cabling for a hyperscaler programme',
    duration: 'Multi-phase · ongoing',
    stats: [
      { n: '2,800', u: '', lbl: 'racks installed across the programme' },
      { n: '25,000', u: '', lbl: 'horizontal cables deployed' },
      { n: '110,000', u: '', lbl: 'vertical cables deployed' },
      { n: '5', u: '', lbl: 'countries under one delivery contract' },
    ],
    scope: ['Presales support', 'Rack installation', 'Server & switch deployment', 'Cabling', 'Testing & debugging'],
    coverage: 'Malaysia · Vietnam · Thailand · Indonesia · US',
    customer: 'Hyperscale cloud operator',
  },
  {
    code: 'CE/USH-26',
    location: 'Malaysia · 2026',
    title: 'US Hyperscaler Malaysia AI Cluster Deployment',
    subtitle: '5.4 MW GB200 cluster build racking, cabling, and acceptance to Oracle standards',
    duration: 'Mid May 2026 – Late May 2026 (ultra-short delivery)',
    stats: [
      { n: '5.4', u: ' MW', lbl: 'high-power data center infrastructure deployed' },
      { n: '32', u: '', lbl: 'GB200 high-density GPU servers racked' },
      { n: '30,000', u: '+', lbl: 'switch-to-server cables laid, terminated & labeled' },
      { n: '140', u: '+', lbl: 'staff across day + night shifts at peak' },
    ],
    scope: ['Hardware installation', 'Structured cabling', 'Intensive shift deployment', 'Testing & delivery', 'Post-deployment support'],
    coverage: 'Malaysia',
    customer: 'US hyperscale cloud operator',
  },
  {
    code: 'CE/GNE-19',
    location: 'Global · 2019–Now',
    title: 'Ultra-large Scale Global Network Delivery Project',
    subtitle: 'Multi-vendor switching, routing and security rollout, commissioning, across ten markets',
    duration: 'May 2019 – Present (ongoing)',
    stats: [
      { n: '70,000', u: '+', lbl: 'network units deployed across the programme' },
      { n: '10', u: '', lbl: 'countries under one delivery framework' },
      { n: '5', u: '', lbl: 'OEMs integrated (Ruijie, H3C, Huawei, Juniper, Cisco)' },
      { n: '7', u: '+ yrs', lbl: 'continuous delivery for the same customer' },
    ],
    scope: ['Network design', 'P2P design', 'Rack layout design', 'Rack & stack', 'Configuration & commissioning'],
    coverage: 'Singapore · Malaysia · Indonesia · Japan · South Korea · Thailand · UK · Saudi Arabia · Russia · Dubai',
    customer: 'Global enterprise network operator',
  },
  {
    code: 'CE/NCP-24',
    location: 'Malaysia · 2023–2025',
    title: 'Malaysia NCP H100 GPU Cluster Deployment',
    subtitle: 'APAC\u2019s first NCP deployment with 640-node H100 cluster built end-to-end with SLA-backed support',
    duration: 'Dec 2023 – Mar 2025',
    stats: [
      { n: '640', u: '', lbl: 'H100 GPU servers racked and commissioned' },
      { n: '18,000', u: '+', lbl: 'cables laid, terminated and labeled' },
      { n: '16', u: ' mo', lbl: 'end-to-end programme duration' },
      { n: '1', u: 'st', lbl: 'NCP cluster deployment in APAC' },
    ],
    scope: ['Pre-sales & BOM support', 'Hardware installation', 'Structured cabling', 'Testing & validation', 'SLA-based post-deployment support'],
    coverage: 'Malaysia',
    customer: 'AI cloud / NCP operator',
  },
  {
    code: 'CE/TH-25',
    location: 'Thailand · 2025',
    title: 'Thailand NCP RoCE Network Deployment Project',
    subtitle: 'Multi-vendor RoCE fabric and out-of-band buildout, installed and commissioned end-to-end',
    duration: 'June 2025 – October 2025',
    stats: [
      { n: '960', u: '', lbl: 'network units deployed across the site' },
      { n: '85', u: '', lbl: 'GB-series racks installed' },
      { n: '160', u: '', lbl: 'network racks installed' },
      { n: '5', u: '', lbl: 'OEMs integrated (Accton, Ruijie, H3C, Mellanox, Cisco)' },
    ],
    scope: ['Hardware installation', 'Out-of-band management buildout', 'Equipment commissioning', 'Automation & config flashing', 'Operation log collection'],
    coverage: 'Thailand',
    customer: 'AI cloud / NCP operator',
  },
  {
    code: 'CE/KSA-23',
    location: 'KSA + UAE · 2023–2025',
    title: 'Hyperscaler Saudi Arabia Data Center Deployment',
    subtitle: 'Hyperscale data-center buildout for an internet platform, racked and commissioned',
    duration: 'April 2023 – June 2025',
    stats: [
      { n: '8,000', u: '+', lbl: 'servers racked and commissioned' },
      { n: '3,000', u: '+', lbl: 'network devices deployed' },
      { n: '26', u: ' mo', lbl: 'multi-phase delivery duration' },
      { n: '2', u: '', lbl: 'countries under one delivery contract' },
    ],
    scope: ['Unpack & inventory', 'Rack & stack', 'Power & optical cabling', 'Switch firmware upgrade & config import', 'Configuration & commissioning'],
    coverage: 'Saudi Arabia · Abu Dhabi',
    customer: 'Hyperscale internet platform',
  },
  {
    code: 'CE/AIO-25',
    location: 'APAC · 2025',
    title: 'Enterprise Network Data & AIOps Platform',
    subtitle: 'Data engineering, and LLM reasoning engine turning stranded network logs into RCA-ready intelligence',
    duration: 'January 2026 - Present (Ongoing)',
    stats: [
      { n: '500', u: ' GB', lbl: 'of stranded syslog, access & event logs activated' },
      { n: '3', u: ' hr', lbl: 'average RCA time before — now minutes' },
      { n: '1', u: '', lbl: 'repeatable RCA template for top incidents' },
      { n: '1', u: '', lbl: 'lean network-ops team, multi-team alignment' },
    ],
    scope: ['Data lakehouse', 'Ingestion engine', 'Orchestration · normalization · enrichment', 'LLM inferencing engine', 'Reasoning engine, dashboards & reports'],
    coverage: 'Malaysia · Singapore',
    customer: 'Enterprise network operations team',
  },
  {
    code: 'CE/OBS-25',
    location: 'APAC · 2025',
    title: 'Enterprise Critical Data Infra Observability',
    subtitle: 'Unified metrics, logs, and AI-driven RCA for an ATM operator across public cloud and on-prem DC',
    duration: 'January 2026 - Present (Ongoing)',
    stats: [
      { n: '1,000', u: '+', lbl: 'ATM endpoints under unified observability' },
      { n: '3', u: ' hr → 10 min', lbl: 'average RCA time, accelerated with AI' },
      { n: '3', u: '', lbl: 'platforms unified (IBM Cloud, AWS, on-prem DC)' },
      { n: '3', u: '', lbl: 'critical databases brought under management (MSSQL, MySQL, PostgreSQL)' },
    ],
    scope: ['Custom OSS & Prometheus ingestion', 'Metrics & logs centralization', 'Air-gap + cloud topology', 'Data governance & security', 'AI reasoning engine for RCA reports'],
    coverage: 'Malaysia',
    customer: 'Enterprise infrastructure operations',
  },
];

// Keep singular export for back-compat with home page.
const CASE_STUDY = CASE_STUDIES[0];

/* ---------- Service line summaries (for /services index) ---------- */
const SERVICE_LINES = [
  {
    id: 'infrastructure',
    href: 'infrastructure.html',
    eyebrow: 'Service 01',
    title: 'Global AIDC & GPU Infrastructure',
    desc: 'Hands-on data-center delivery for AI compute — design, equipment deployment, cabling, fit-out, and operations across the region.',
    children: ['Preparations', 'Physical Deployment', 'Logical Configuration / Verification', 'Advanced Testing & Verification', 'Customer Handover Documentation'],
    cta: 'Open Infrastructure Services',
  },
  {
    id: 'ai-platform',
    href: 'ai-platform.html',
    eyebrow: 'Service 02',
    title: 'AI Platform Services',
    desc: 'Build, run, and secure enterprise AI as a managed operating capability — GPU virtualization, LLM operations, and AI security.',
    children: ['GPU Virtualization & Orchestration', 'Data Foundation', 'LLM Application Operation', 'LLM Security'],
    cta: 'Open Platform Services',
  },
];

const NAV = [
  { id: 'home', label: 'Home', href: 'index.html' },
  { id: 'about', label: 'About', href: 'about.html' },
  {
    id: 'services', label: 'Services', href: 'services.html',
    children: [
      { id: 'infrastructure', label: 'Infrastructure Services', href: 'infrastructure.html', desc: 'AIDC + GPU cluster deployment.' },
      { id: 'ai-platform', label: 'AI Platform Services', href: 'ai-platform.html', desc: 'GPU virtualization, LLM ops, AI security.' },
    ],
  },
  { id: 'solutions', label: 'Solutions', href: 'solutions.html' },
  { id: 'success-stories', label: 'Success Stories', href: 'success-stories.html' },
  { id: 'contact', label: 'Contact', href: 'contact.html' },
];

Object.assign(window, {
  SERVICES, SOLUTIONS, FRAMEWORK, STATS, NAV,
  INFRA_SERVICES, DELIVERY_WORKFLOW, GPU_MODELS, REGIONS, SERVE,
  CASE_STUDY, CASE_STUDIES, SERVICE_LINES,
});
