<?php
?><!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Demo Chat OpenAI (Responses API, .env)</title>
  <link rel="stylesheet" href="assets/widget.css" />
</head>
<body>
  <h1 style="font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial;">Demo Chat OpenAI (Responses API)</h1>
  <p>Widget chat muncul di pojok kanan bawah. Silakan klik untuk membuka.</p>
  <div id="chat-widget-root"></div>
  <script>
    window.OPENAI_CHAT_WIDGET_CONFIG = {
      endpoint: '../api/chat.php',
      title: 'Asisten AI',
      subtitle: 'Tanya apa saja 🚀'
    };
  </script>
  <script src="assets/widget.js"></script>
</body>
</html>
