/* Feature Tooltip Styles */
.feature-card {
    cursor: pointer;
}

.feature-tooltip {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99999 !important;
}

.feature-tooltip.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Close button for tooltip */
.tooltip-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.tooltip-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Overlay for mobile */
.tooltip-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    display: none;
}

.tooltip-overlay.active {
    display: block;
}