.tour-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.tour-btn:focus-visible {
    outline: 2px solid #6e8efb;
    outline-offset: 2px;
}

.tour-btn-primary {
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    box-shadow: 0 4px 15px rgba(110, 142, 251, 0.4);
}

.tour-btn-primary:hover, .tour-btn-primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(110, 142, 251, 0.6);
}

.tour-btn-outline {
    background: transparent;
    border: 2px solid #6e8efb;
    color: #6e8efb;
}

.tour-btn-outline:hover, .tour-btn-outline:focus-visible {
    background: rgba(110, 142, 251, 0.1);
}

/* 引导系统样式 - 所有类名添加tour-前缀 */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);/*浅的黑背景*/
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tour-step {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 10px;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tour-step.active {
    opacity: 1;
    transform: translateY(0);
}

.tour-step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #444;
}

.tour-step p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.tour-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.tour-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.tour-progress-dot.active {
    background: #6e8efb;
}

.tour-highlight {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7), 0 0 15px 5px rgba(110, 142, 251, 0.8);
    z-index: 1000;
    transition: all 0.4s ease;
}

.tour-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.tour-nav-single {
    justify-content: flex-end;
}

.tour-step .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.tour-skip {
    color: #6e8efb;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    margin-top: 12px;
    width: 100%;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tour-dashboard {
        grid-template-columns: 1fr;
    }
    
    .tour-content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tour-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tour-step {
        max-width: 420px;
    }
    
    .tour-main-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tour-subtitle {
        font-size: 1rem;
    }
    
    .tour-card {
        padding: 20px;
    }
    
    .tour-main-content {
        padding: 15px;
    }
    
    .tour-step {
        max-width: 420px;
        padding: 15px;
    }
    
    .tour-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .tour-content-header h2 {
        font-size: 1.5rem;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}
