    body {
      margin: 0;
      font-family: 'Exo 2', sans-serif;
      background: #ffffff;
      color: #222;
    }
    .page-demo {
      padding: 60px 40px;
      max-width: 800px;
      margin: 0 auto;
    }
    .page-demo h1 { font-family: 'Rajdhani', sans-serif; font-size: 36px; margin-bottom: 12px; }
    .page-demo p  { color: #555; line-height: 1.7; margin-bottom: 16px; }

    /* ═══════════════════════════════════
       WIDGET FLOTANTE — VERSIÓN LIGHT
    ═══════════════════════════════════ */
    :root {
      --accent:     #0072ff;
      --accent2:    #00c8ff;
      --surface:    #ffffff;
      --surface2:   #f4f7fb;
      --surface3:   #eaf0fa;
      --border:     #dde4f0;
      --text:       #1a2236;
      --text-muted: #8a9bbf;
      --user-bg:    #0072ff;
      --user-text:  #ffffff;
      --bot-bg:     #f0f4fc;
      --bot-text:   #1a2236;
      --shadow:     rgba(0, 90, 200, 0.12);
    }

    /* Botón flotante */
    #chat-toggle {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: #111;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0,0,0,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    #chat-toggle:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 28px rgba(0,0,0,0.32);
    }
    #chat-toggle svg { width: 26px; height: 26px; }
    #chat-toggle .icon-open  { display: block; }
    #chat-toggle .icon-close { display: none;  }
    #chat-toggle.open .icon-open  { display: none;  }
    #chat-toggle.open .icon-close { display: block; }

    /* Badge */
    #chat-badge {
      position: fixed;
      bottom: 74px;
      right: 28px;
      background: #111;
      color: #fff;
      font-family: 'Exo 2', sans-serif;
      font-size: 12px;
      padding: 6px 14px;
      border-radius: 20px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.18);
      z-index: 9998;
      white-space: nowrap;
      animation: badgePop 0.4s ease 1.5s both;
      cursor: pointer;
    }
    @keyframes badgePop {
      from { opacity: 0; transform: translateY(8px) scale(0.9); }
      to   { opacity: 1; transform: translateY(0)  scale(1);   }
    }
    #chat-badge.hidden { display: none; }

    /* Ventana del chat */
    #chat-window {
      position: fixed;
      bottom: 100px;
      right: 28px;
      width: 370px;
      height: 540px;
      background: var(--surface);
      border-radius: 20px;
      box-shadow: 0 12px 50px var(--shadow), 0 0 0 1px var(--border);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      z-index: 9997;
      transform: scale(0.85) translateY(20px);
      opacity: 0;
      pointer-events: none;
      transform-origin: bottom right;
      transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), opacity 0.2s ease;
    }
    #chat-window.open {
      transform: scale(1) translateY(0);
      opacity: 1;
      pointer-events: all;
    }

    /* Topbar */
    .cw-topbar {
      background: linear-gradient(135deg, #0072ff, #00c8ff);
      padding: 16px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    .cw-logo {
      width: 34px; height: 34px;
      background: rgba(255,255,255,0.2);
      border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700; font-size: 12px; color: white; letter-spacing: 0.5px;
      backdrop-filter: blur(4px);
    }
    .cw-title { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: white; letter-spacing: 1px; }
    .cw-sub   { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 1px; }
    .cw-dot   {
      width: 8px; height: 8px; border-radius: 50%;
      background: #7fffb2;
      box-shadow: 0 0 6px #7fffb2;
      margin-left: auto;
      animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

    /* Mensajes */
    .cw-messages {
      flex: 1;
      overflow-y: auto;
      padding: 18px 14px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      scroll-behavior: smooth;
      background: var(--surface);
    }
    .cw-messages::-webkit-scrollbar { width: 3px; }
    .cw-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    /* Bienvenida */
    .cw-welcome { text-align: center; padding: 8px 4px 6px; animation: fadeIn 0.5s ease; }
    .cw-welcome .wi { font-size: 30px; margin-bottom: 8px; }
    .cw-welcome h3  { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
    .cw-welcome p   { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }

    .cw-suggestions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
    .cw-sug {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 5px 12px;
      font-size: 11px;
      font-family: 'Exo 2', sans-serif;
      color: var(--text);
      cursor: pointer;
      transition: all 0.2s;
    }
    .cw-sug:hover { border-color: var(--accent); color: var(--accent); background: #eef4ff; }

    /* Burbujas */
    .cw-msg { display: flex; gap: 8px; animation: slideUp 0.25s ease; max-width: 92%; }
    .cw-msg.user { align-self: flex-end; flex-direction: row-reverse; }
    .cw-msg.bot  { align-self: flex-start; }
    @keyframes slideUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
    @keyframes fadeIn  { from{opacity:0} to{opacity:1} }

    .cw-av {
      width: 28px; height: 28px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; flex-shrink: 0; margin-top: 2px;
    }
    .cw-av.bot-av {
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: white; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 10px;
    }
    .cw-av.user-av {
      background: var(--surface2);
      border: 1px solid var(--border);
    }

    .cw-bubble {
      padding: 10px 14px;
      border-radius: 14px;
      font-size: 13px;
      line-height: 1.55;
      word-wrap: break-word;
      max-width: 100%;
    }
    .cw-msg.user .cw-bubble {
      background: var(--user-bg);
      color: var(--user-text);
      border-radius: 14px 4px 14px 14px;
    }
    .cw-msg.bot .cw-bubble {
      background: var(--bot-bg);
      color: var(--bot-text);
      border: 1px solid var(--border);
      border-radius: 4px 14px 14px 14px;
    }
    .cw-msg.bot .cw-bubble strong { color: var(--accent); }
    .cw-bubble code {
      background: rgba(0,114,255,0.08);
      border: 1px solid rgba(0,114,255,0.15);
      border-radius: 4px;
      padding: 1px 5px;
      font-size: 11px;
    }

    /* Typing */
    .typing { display: flex; gap: 4px; align-items: center; padding: 10px 4px; }
    .typing span {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--text-muted);
      animation: bounce 1.2s infinite;
    }
    .typing span:nth-child(2) { animation-delay: 0.2s; }
    .typing span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes bounce { 0%,80%,100%{transform:scale(0.6);opacity:.4} 40%{transform:scale(1);opacity:1} }

    /* Input */
    .cw-input-area {
      padding: 12px 14px 14px;
      background: var(--surface2);
      border-top: 1px solid var(--border);
      flex-shrink: 0;
    }
    .cw-row { display: flex; gap: 8px; align-items: flex-end; }
    .cw-textarea {
      flex: 1;
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 10px 13px;
      font-size: 13px;
      font-family: 'Exo 2', sans-serif;
      color: var(--text);
      resize: none;
      outline: none;
      min-height: 42px;
      max-height: 100px;
      line-height: 1.4;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .cw-textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0,114,255,0.1);
    }
    .cw-textarea::placeholder { color: var(--text-muted); }

    .cw-send {
      width: 42px; height: 42px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      border: none; border-radius: 10px;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: transform 0.15s, opacity 0.15s;
      box-shadow: 0 2px 10px rgba(0,114,255,0.3);
    }
    .cw-send:hover  { transform: scale(1.06); }
    .cw-send:active { transform: scale(0.96); }
    .cw-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
    .cw-send svg { width: 18px; height: 18px; fill: white; }

    .cw-footer {
      margin-top: 8px;
      font-size: 10px;
      color: var(--text-muted);
      text-align: center;
      letter-spacing: 0.3px;
    }

    .cw-error {
      background: #fff0f0;
      border: 1px solid #ffcccc;
      color: #cc3333;
      padding: 9px 13px;
      border-radius: 10px;
      font-size: 12px;
      animation: slideUp 0.3s ease;
    }

    /* Responsive */
    @media (max-width: 420px) {
      #chat-window { width: calc(100vw - 20px); right: 10px; bottom: 90px; }
      #chat-toggle { right: 18px; bottom: 18px; }
      #chat-badge  { right: 18px; bottom: 86px; }
    }