/* Demo floating button */
.nxv-demo-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    background: #e27d60;
    color: #003366;
    border: none;
    padding: 12px 22px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(226,125,96,0.4);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nxv-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(226,125,96,0.5);
    background: #c4633a;
}

/* Tour overlay */
.nxv-tour-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nxv-tour-overlay.active {
    pointer-events: auto;
}

/* SVG overlay with cutout hole */
.nxv-tour-overlay svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Tooltip */
.nxv-tour-tooltip {
    position: absolute;
    z-index: 10001;
    background: white;
    border-left: 4px solid #e27d60;
    border-radius: 8px;
    padding: 24px;
    max-width: 340px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
    animation: nxvTourFadeIn 0.3s ease;
}
@keyframes nxvTourFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.nxv-tour-tooltip-close {
    position: absolute;
    top: 8px; right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6B7280;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.nxv-tour-tooltip-close:hover { color: #111827; }
.nxv-tour-tooltip-text {
    font-size: 14px;
    line-height: 1.6;
    color: #111827;
    margin-bottom: 20px;
}
.nxv-tour-tooltip-text strong { color: #e27d60; }
.nxv-tour-tooltip-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nxv-tour-tooltip-step {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}
.nxv-tour-tooltip-nav {
    display: flex;
    gap: 8px;
}
.nxv-tour-btn-prev {
    padding: 8px 16px;
    background: #e27d60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}
.nxv-tour-btn-prev:hover { background: #003366; }
.nxv-tour-btn-next {
    padding: 8px 16px;
    background: #e27d60;
    color: #003366;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}
.nxv-tour-btn-next:hover { background: #c4633a; }

/* Demo bar at top */
.nxv-demo-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10002;
    background: #e27d60;
    color: #003366;
    padding: 10px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.nxv-demo-bar.active {
    transform: translateY(0);
}
.nxv-demo-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nxv-demo-bar-stop {
    padding: 6px 14px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}
.nxv-demo-bar-stop:hover { background: #e27d60; }

/* When demo bar is active, push sticky header down */
body.nxv-tour-active .site-header {
    top: 40px !important;
}

/* Mobile responsive tour */
@media (max-width: 768px) {
    .nxv-tour-tooltip {
        position: fixed !important;
        bottom: 80px !important;
        left: 16px !important;
        right: 16px !important;
        top: auto !important;
        max-width: none !important;
    }
    .nxv-demo-btn {
        bottom: 16px;
        right: 16px;
        font-size: 12px;
        padding: 10px 16px;
    }
    .nxv-demo-bar { font-size: 11px; padding: 8px 16px; }
}
