    :root {
        --chat-primary: #8a40c9;
        --chat-bg: #f4f7f9;
        --chat-text: #333;
        --chat-white: #ffffff;
    }

    .chat-toggle {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: var(--chat-primary);
        border-radius: 30px;
        cursor: pointer;
        box-shadow: 0 10px 25px rgba(84, 105, 212, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        color: #fff;
    }

    .chat-toggle:hover {
        transform: scale(1.05);
    }

    .chat-toggle-open {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
    }

    .chat-toggle-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        padding: 0;
    }

    .chat-toggle svg {
        flex-shrink: 0;
    }

    .chat-toggle-open svg {
        width: 20px;
        height: 20px;
    }

    .chat-toggle-close svg {
        width: 24px;
        height: 24px;
    }

    .chat-toggle span {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

    .notification-dot {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 15px;
        height: 15px;
        background: #f56c6c;
        border: 2px solid #fff;
        border-radius: 50%;
        animation: pulse 1s infinite;
    }

    .chat-window {
        position: fixed;
        bottom: 110px;
        right: 30px;
        width: 440px;
        height: 600px;
        background: var(--chat-white);
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        z-index: 1000;
        overflow: hidden;
        transition: all 0.3s ease;
        transform-origin: bottom right;
    }

    .chat-window.hidden {
        transform: scale(0);
        opacity: 0;
        pointer-events: none;
    }

    .chat-header {
        background: var(--chat-primary);
        color: #fff;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .bot-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .bot-info img {
        width: 45px;
        height: 45px;
        background: #fff;
        border-radius: 50%;
        padding: 5px;
    }

    .bot-info h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

    .bot-info .status {
        font-size: 12px;
        opacity: 0.8;
    }

    .close-btn1 {
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }

    .chat-body {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        background: var(--chat-bg);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .message {
        max-width: 80%;
        padding: 12px 16px;
        border-radius: 15px;
        font-size: 14px;
        line-height: 1.5;
        position: relative;
        animation: fadeIn 0.3s ease;
    }

    .bot-message {
        background: #fff;
        color: var(--chat-text);
        align-self: flex-start;
        border-bottom-left-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        white-space: pre-line;
    }

    /* Plan Card Styles */
    .plan-cards-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
        width: 100%;
    }

    .plan-card {
        background: #fff;
        border: 1px solid #e0e6ed;
        border-radius: 12px;
        padding: 15px;
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .plan-card:hover {
        border-color: var(--chat-primary);
        box-shadow: 0 4px 12px rgba(84, 105, 212, 0.1);
        transform: translateY(-2px);
    }

    .plan-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .plan-card-name {
        font-weight: 600;
        font-size: 14px;
        color: var(--chat-text);
        margin: 0;
    }

    .plan-card-price {
        color: var(--chat-primary);
        font-weight: 700;
        font-size: 15px;
    }

    .plan-card-details {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 12px;
        font-size: 12px;
        color: #666;
    }

    .plan-detail-item {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .plan-detail-item i {
        font-size: 10px;
        opacity: 0.7;
    }

    .buy-btn {
        display: block;
        width: 100%;
        background: var(--chat-primary);
        color: #fff;
        text-align: center;
        padding: 8px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        transition: opacity 0.2s;
    }

    .buy-btn:hover {
        opacity: 0.9;
        color: #fff;
    }

    .view-all-link {
        display: block;
        text-align: center;
        font-size: 13px;
        color: var(--chat-primary);
        font-weight: 600;
        text-decoration: none;
        margin-top: 10px;
        padding: 8px;
        border: 1px dashed var(--chat-primary);
        border-radius: 8px;
        transition: all 0.2s;
    }

    .view-all-link:hover {
        background: rgba(84, 105, 212, 0.05);
        text-decoration: underline;
    }

    .country-tag {
        display: inline-block;
        padding: 2px 8px;
        background: #eef2f7;
        border-radius: 4px;
        font-size: 10px;
        color: #555;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .user-message {
        background: var(--chat-primary);
        color: #fff;
        align-self: flex-end;
        border-bottom-right-radius: 5px;
    }

    /* Interactive Menu Buttons */
    .message-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
        width: 100%;
    }

    .msg-btn {
        background: #fff;
        border: 1px solid var(--chat-primary);
        color: var(--chat-primary);
        padding: 7px 15px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        text-align: left;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
    }

    .msg-btn:hover {
        background: var(--chat-primary);
        color: #fff !important;
        text-decoration: none;
        transform: translateX(5px);
    }

    .msg-btn::after {
        content: '\f105';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 12px;
        opacity: 0.5;
    }

    .msg-btn:hover::after {
        opacity: 1;
    }

    .quick-replies {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .quick-reply {
        background: rgba(84, 105, 212, 0.1);
        color: var(--chat-primary);
        border: 1px solid var(--chat-primary);
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .quick-reply:hover {
        background: var(--chat-primary);
        color: #fff;
    }

    .chat-footer {
        padding: 20px;
        background: #fff;
        display: flex;
        gap: 10px;
        border-top: 1px solid #eee;
    }

    #chat-input {
        flex: 1;
        border: 1px solid #eee;
        padding: 12px 15px;
        border-radius: 25px;
        outline: none;
        font-size: 14px;
        transition: border 0.3s;
    }

    #chat-input:focus {
        border-color: var(--chat-primary);
    }

    .send-btn {
        background: var(--chat-primary);
        color: #fff;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .send-btn:hover {
        transform: scale(1.1);
    }

    .send-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .typing-indicator {
        padding: 10px 20px;
        display: flex;
        gap: 5px;
    }

    .typing-indicator span {
        width: 8px;
        height: 8px;
        background: #aaa;
        border-radius: 50%;
        animation: typing 1s infinite alternate;
    }

    .typing-indicator span:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-indicator span:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes typing {
        from {
            transform: translateY(0);
        }

        to {
            transform: translateY(-5px);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.2);
            opacity: 0.7;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .hidden {
        display: none !important;
    }

    /* Tablet Responsive (768px - 1024px) */
    @media (max-width: 1024px) {
        .chat-window {
            width: 380px;
            height: 550px;
            bottom: 100px;
            right: 20px;
        }

        .chat-toggle {
            bottom: 20px;
            right: 20px;
        }
    }

    /* Mobile Landscape & Small Tablets (481px - 767px) */
    @media (max-width: 767px) {
        .chat-window {
            width: calc(100vw - 40px);
            height: calc(100vh - 120px);
            bottom: 90px;
            right: 20px;
            left: 20px;
            border-radius: 15px;
        }

        .chat-toggle {
            bottom: 15px;
            right: 15px;
        }

        .chat-toggle-open {
            padding: 10px 16px;
        }

        .chat-toggle span {
            font-size: 13px;
        }

        .chat-header {
            padding: 15px;
        }

        .bot-info h4 {
            font-size: 16px;
        }

        .bot-info img {
            width: 40px;
            height: 40px;
        }

        .chat-body {
            padding: 15px;
            gap: 12px;
        }

        .message {
            max-width: 85%;
            font-size: 13px;
        }

        .plan-card {
            padding: 12px;
        }

        .quick-reply {
            font-size: 12px;
            padding: 7px 10px;
        }

        .msg-btn {
            font-size: 13px;
            padding: 6px 12px;
        }

        .chat-footer {
            padding: 15px;
        }

        #chat-input {
            font-size: 13px;
            padding: 10px 12px;
        }

        .send-btn {
            width: 40px;
            height: 40px;
        }
    }

    /* Mobile Portrait (320px - 480px) */
    @media (max-width: 480px) {
        .chat-window {
            width: 100%;
            height: 100%;
            bottom: 0;
            right: 0;
            left: 0;
            top: 0;
            border-radius: 0;
            transform-origin: center;
        }

        .chat-window.hidden {
            transform: translateY(100%);
        }

        .chat-toggle {
            bottom: 20px;
            right: 20px;
        }

        .chat-toggle-open {
            padding: 10px 15px;
        }

        .chat-toggle-close {
            width: 55px;
            height: 55px;
        }

        .chat-toggle span {
            font-size: 12px;
        }

        .chat-header {
            padding: 12px 15px;
        }

        .bot-info {
            gap: 10px;
        }

        .bot-info h4 {
            font-size: 15px;
        }

        .bot-info .status {
            font-size: 11px;
        }

        .bot-info img {
            width: 35px;
            height: 35px;
        }

        .close-btn1 {
            font-size: 24px;
        }

        .chat-body {
            padding: 12px;
            gap: 10px;
        }

        .message {
            max-width: 90%;
            padding: 10px 12px;
            font-size: 13px;
        }

        .plan-card {
            padding: 10px;
        }

        .plan-card-name {
            font-size: 13px;
        }

        .plan-card-price {
            font-size: 14px;
        }

        .plan-card-details {
            font-size: 11px;
            gap: 8px;
        }

        .country-tag {
            font-size: 9px;
            padding: 2px 6px;
        }

        .quick-replies {
            gap: 6px;
        }

        .quick-reply {
            font-size: 11px;
            padding: 6px 10px;
        }

        .msg-btn {
            font-size: 12px;
            padding: 6px 10px;
        }

        .chat-footer {
            padding: 12px;
        }

        #chat-input {
            font-size: 13px;
            padding: 10px 12px;
        }

        .send-btn {
            width: 38px;
            height: 38px;
        }

        .send-btn svg {
            width: 18px;
            height: 18px;
        }

        .view-all-link {
            font-size: 12px;
        }

        .buy-btn {
            font-size: 12px;
        }
    }

    /* Extra Small Mobile (max 360px) */
    @media (max-width: 360px) {
        .chat-toggle-open span {
            font-size: 11px;
        }

        .bot-info h4 {
            font-size: 14px;
        }

        .message {
            font-size: 12px;
        }

        .plan-card-name {
            font-size: 12px;
        }

        .plan-card-details {
            font-size: 10px;
        }
    }