/* ==========================================================================
   ADITHYAN VIRTUAL ENGINEERING CONCIERGE (mascot-concierge.css)
   ========================================================================== */

#adithyan-mascot-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999999 !important;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    pointer-events: auto !important;
}

/* Floating Mascot Button */
.mascot-concierge-toggle {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0b1226;
    border: 2.5px solid #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000000 !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mascot-concierge-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 242, 254, 0.7);
    border-color: #38bdf8;
}

.mascot-concierge-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

/* Glowing Pulse Ring */
.mascot-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 242, 254, 0.8);
    animation: mascot-pulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    pointer-events: none;
}

@keyframes mascot-pulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Online Indicator Dot */
.mascot-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: #22c55e;
    border: 2px solid #0b1226;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    pointer-events: none;
}

/* Speech Hint Bubble (Floating Above Mascot) */
.mascot-speech-hint {
    position: absolute;
    bottom: 76px;
    left: 0;
    width: max-content;
    max-width: 290px;
    background: rgba(15, 23, 42, 0.96);
    border: 1.5px solid rgba(0, 242, 254, 0.4);
    border-radius: 14px;
    padding: 9px 14px;
    color: #f1f5f9;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.2);
    display: none;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    animation: mascot-hint-anim 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-speech-hint.visible {
    display: flex;
}

.mascot-speech-hint:hover {
    border-color: #00f2fe;
    transform: translateY(-2px);
}

.mascot-hint-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
}

.mascot-hint-close:hover {
    color: #ef4444;
}

@keyframes mascot-hint-anim {
    from { opacity: 0; transform: translateY(8px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Holographic HUD Box */
.mascot-hud-box {
    position: absolute;
    bottom: 78px;
    left: 0;
    width: 370px;
    max-width: calc(100vw - 36px);
    background: rgba(11, 18, 38, 0.97) !important;
    border: 1.5px solid rgba(0, 242, 254, 0.4) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.25) !important;
    padding: 20px !important;
    display: none;
    flex-direction: column;
    gap: 13px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    z-index: 1000001 !important;
    animation: mascot-hud-open 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-hud-box.active {
    display: flex !important;
}

@keyframes mascot-hud-open {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* HUD Header */
.mascot-hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.mascot-hud-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mascot-hud-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #00f2fe;
    background: #0f172a;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.mascot-hud-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mascot-hud-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.mascot-hud-role {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.mascot-hud-status {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.mascot-hud-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.mascot-hud-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.mascot-hud-close:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

/* HUD Message Speech Box */
.mascot-hud-message {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mascot-hud-message strong {
    color: #00f2fe;
}

/* Quick Inquiry Chips */
.mascot-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mascot-chip {
    padding: 6px 12px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 20px;
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mascot-chip:hover {
    background: #00f2fe;
    color: #050b14;
    border-color: #00f2fe;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    transform: translateY(-1px);
}

/* Action Links */
.mascot-hud-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mascot-hud-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mascot-hud-btn-text {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mascot-hud-btn-text i {
    font-size: 0.9rem;
    color: #38bdf8;
    width: 16px;
    text-align: center;
}

.mascot-hud-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.4);
    color: #ffffff;
    transform: translateX(3px);
}

.mascot-hud-btn:hover .mascot-hud-btn-text i {
    color: #00f2fe;
}

.mascot-hud-btn.whatsapp-btn {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
    margin-top: 4px;
}

.mascot-hud-btn.whatsapp-btn i {
    color: #4ade80;
}

.mascot-hud-btn.whatsapp-btn:hover {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.mascot-hud-btn.whatsapp-btn:hover i {
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    #adithyan-mascot-widget {
        bottom: 18px;
        left: 16px;
    }
    .mascot-concierge-toggle {
        width: 56px;
        height: 56px;
    }
    .mascot-hud-box {
        bottom: 70px;
        left: 0;
        width: calc(100vw - 32px);
    }
}
