:root {
  --gradient-1: linear-gradient(135deg, #8dc53e 0%, #72a032 100%);
  --gradient-2: linear-gradient(135deg, #9ac45f 0%, #f5576c 100%);
}
.chatbot-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
}
.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(144, 234, 102, 0.4);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.chatbot-button:hover { transform: translateY(-3px) scale(1.1); box-shadow:0 12px 35px  rgba(144, 234, 102, 0.4); }
.chatbot-button i { font-size:1.5rem; color:#fff; transition:all .3s ease; position:relative; z-index:3; }
.chatbot-button:not(.active) i.fa-times { display:none; }
.chatbot-button.active i.fa-comments { display:none; }
.chatbot-button.active i.fa-times    { display:block; }
.chatbot-button::before {
  content:""; position:absolute; top:50%; left:50%; width:100%; height:100%;
  background:var(--gradient-1); border-radius:50%; transform:translate(-50%,-50%) scale(1);
  animation:pulse-ring 2s infinite; opacity:.3; z-index:1;
}
@keyframes pulse-ring {
  0%   {transform:translate(-50%, -50%) scale(1); opacity:.3;}
  70%,100% {transform:translate(-50%,-50%) scale(2); opacity:0;}
}
.chatbot-modal {
  position:fixed; bottom:100px; right:30px; width:400px; height:600px;
  background:#fff; border-radius:20px; box-shadow:0 25px 50px rgba(0,0,0,.15);
  border:1px solid  rgba(144, 234, 102, 0.4); z-index:9999;
  transform:translateY(20px) scale(.95); opacity:0; visibility:hidden;
  transition:all .3s cubic-bezier(.4,0,.2,1); overflow:hidden;
}
.chatbot-modal.active {
  transform:translateY(0) scale(1); opacity:1; visibility:visible;
}
.chatbot-modal-header {
  background:var(--gradient-1); color:#fff; padding:20px;
  display:flex; align-items:center; justify-content:space-between;
}
.chatbot-modal-header h3 { margin:0; font-size:1.2rem; font-weight:600; }
.chatbot-modal-header button {
  background:none; border:none; color:#fff; font-size:1.2rem;
  cursor:pointer; padding:5px; border-radius:50%; transition:background .3s ease;
}
.chatbot-modal-header button:hover { background:rgba(255, 255, 255, 0.2); }
.chatbot-iframe { width:100%; height:calc(100% - 80px); border:none; }
.debug-info {
  position:fixed; top:20px; left:20px; background:rgba(0,0,0,.8);
  color:#fff; padding:10px; border-radius:8px; font-family:monospace;
  font-size:12px; z-index:10001;
}
@media (max-width:480px) {
  .chatbot-modal {
    width:calc(100vw - 40px); right:20px; left:20px; bottom:100px;
  }
}

body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            background: #f8fafc;
            min-height: 100vh;
            padding: 50px 20px;
        }
 
        .demo-content {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
 
        .demo-content h1 {
            color: #1a202c;
            margin-bottom: 20px;
        }
 
        .demo-content p {
            color: #4a5568;
            font-size: 1.1rem;
            line-height: 1.6;
        }
 
        .chatbot-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 10000;
        }
 
        .chatbot-button {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--gradient-1);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 25px rgba(183, 234, 102, 0.4);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
 
        .chatbot-button:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 12px 35px rgba(144, 234, 102, 0.6);
        }
 
        .chatbot-button i {
            font-size: 1.5rem;
            color: white;
            transition: all 0.3s ease;
            position: relative;
            z-index: 3;
        }
 
        .chatbot-button:not(.active) i.fa-times {
            display: none;
        }
 
        .chatbot-button.active i.fa-comments {
            display: none;
        }
 
        .chatbot-button.active i.fa-times {
            display: block;
        }
 
        /* Pulse Animation for Chatbot Button */
        .chatbot-button::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            background: var(--gradient-1);
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(1);
            animation: pulse-ring 2s infinite;
            opacity: 0.3;
            z-index: 1;
        }
 
        @keyframes pulse-ring {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.3;
            }
            70% {
                transform: translate(-50%, -50%) scale(2);
                opacity: 0;
            }
            100% {
                transform: translate(-50%, -50%) scale(2);
                opacity: 0;
            }
        }
 
        /* Chatbot Modal */
        .chatbot-modal {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 400px;
            height: 600px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(168, 234, 102, 0.2);
            z-index: 9999;
            transform: translateY(20px) scale(0.95);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
 
        .chatbot-modal.active {
            transform: translateY(0) scale(1);
            opacity: 1;
            visibility: visible;
        }
 
        .chatbot-modal-header {
            background: var(--gradient-1);
            color: white;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
 
        .chatbot-modal-header h3 {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 600;
        }
 
        .chatbot-modal-header button {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: background 0.3s ease;
        }
 
        .chatbot-modal-header button:hover {
            background: rgba(255, 255, 255, 0.2);
        }
 
        .chatbot-iframe {
            width: 100%;
            height: calc(100% - 80px);
            border: none;
        }
 
        /* Debug info */
        .debug-info {
            position: fixed;
            top: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 10px;
            border-radius: 8px;
            font-family: monospace;
            font-size: 12px;
            z-index: 10001;
        }
 
        @media (max-width: 480px) {
            .chatbot-modal {
                width: calc(100vw - 40px);
                right: 20px;
                left: 20px;
                bottom: 100px;
            }
        }